Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe855a7

Browse filesBrowse files
Address review comments
1 parent 1e6f1ca commit fe855a7
Copy full SHA for fe855a7

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/TdsParserStateObjectNativeTests.cs‎

Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/TdsParserStateObjectNativeTests.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ public class TdsParserStateObjectNativeTests
1313
[Theory]
1414
[InlineData(null, true, "")] // Integrated + null -> empty (generate SPN)
1515
[InlineData("", true, "")] // Integrated + empty -> empty (generate SPN)
16-
[InlineData(" ", true, "")] // Integrated + empty -> empty (generate SPN)
16+
[InlineData(" ", true, "")] // Integrated + whitespace -> empty (generate SPN)
1717
[InlineData("MSSQLSvc/host", true, "MSSQLSvc/host")] // Integrated + provided -> use it
1818
[InlineData(null, false, null)] // SQL Auth + null -> null (no generation)
1919
[InlineData("", false, null)] // SQL Auth + empty -> null (no generation)
20-
[InlineData(" ", false, null)] // SQL Auth + empty -> null (no generation)
20+
[InlineData(" ", false, null)] // SQL Auth + whitespace -> null (no generation)
2121
[InlineData("MSSQLSvc/host", false, "MSSQLSvc/host")] // SQL Auth + provided -> use it
2222
[PlatformSpecific(TestPlatforms.Windows)]
2323
public void NormalizeServerSpn_ReturnsExpectedValue(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.