Skip to content

Commit

Permalink
SNOW-1729244 small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dstempniak committed Oct 14, 2024
1 parent c8098f0 commit fd737a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
*/
#nullable enable

using System;
using System.Data;
using System.Linq;
Expand Down Expand Up @@ -1107,3 +1109,5 @@ internal void AssertEqual(object actual, string comparisonFormat, string faultMe
internal static bool IsOffsetType(SFDataType type) => type == SFDataType.TIMESTAMP_LTZ || type == SFDataType.TIMESTAMP_TZ;
}
}

#nullable restore
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ internal static IEnumerable<object[]> DateTimeOffsetConversionCases()
};
yield return new object[]
{
"9999-12-31 23:59:59.999999 +1:00",
"9999-12-31 23:59:59.999999 +13:00",
SFDataType.TIMESTAMP_LTZ.ToString(),
null,
DateTimeOffset.Parse("9999-12-31 23:59:59.999999 +1:00")
DateTimeOffset.Parse("9999-12-31 23:59:59.999999 +13:00")
};
yield return new object[]
{
Expand Down

0 comments on commit fd737a1

Please sign in to comment.