From fd737a121835e78a085f838b75011f45d69e57d1 Mon Sep 17 00:00:00 2001 From: Dariusz Stempniak Date: Mon, 14 Oct 2024 17:35:19 +0200 Subject: [PATCH] SNOW-1729244 small fixes --- Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs | 4 ++++ .../StructuredTypesWithEmbeddedUnstructuredIT.cs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs index 79e22edcd..6296fbc71 100755 --- a/Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs @@ -1,6 +1,8 @@ /* * Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved. */ +#nullable enable + using System; using System.Data; using System.Linq; @@ -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 diff --git a/Snowflake.Data.Tests/IntegrationTests/StructuredTypesWithEmbeddedUnstructuredIT.cs b/Snowflake.Data.Tests/IntegrationTests/StructuredTypesWithEmbeddedUnstructuredIT.cs index 2f19069f0..22f8310a1 100644 --- a/Snowflake.Data.Tests/IntegrationTests/StructuredTypesWithEmbeddedUnstructuredIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/StructuredTypesWithEmbeddedUnstructuredIT.cs @@ -496,10 +496,10 @@ internal static IEnumerable 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[] {