Skip to content

Commit 5f0d30c

Browse files
Updated the switch name
1 parent 549c62d commit 5f0d30c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/SqlBulkCopyTest/AdjustPrecScaleForBulkCopy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void RunTest()
2727
Assert.Equal("12.3", value.ToString());
2828

2929
value = BulkCopySqlDecimalToTable(new SqlDecimal(123.45), 10, 2, 4, 1);
30-
if (AppContext.TryGetSwitch("Microsoft.Data.SqlClient.TruncateScaledDecimal", out bool switchValue) && switchValue)
30+
if (AppContext.TryGetSwitch("Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal", out bool switchValue) && switchValue)
3131
{
3232
Assert.Equal("123.4", value.ToString());
3333
}

0 commit comments

Comments
 (0)