Skip to content

Commit 7503bc0

Browse files
authored
Make CredScan happy with UriBuilder tests (#75352)
1 parent ca0d3e4 commit 7503bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public void ToString_Invalid()
387387

388388
[Theory]
389389
[InlineData(@"user/\?#@name", "", "http://user%2F%5C%3F%23%40name@localhost/")]
390-
[InlineData(@"user/\?#@name", @"pass/\?#@word", "http://user%2F%5C%3F%23%40name:pass%2F%5C%3F%23%40word@localhost/")]
390+
[InlineData(@"user/\?#@name", @"/\?#@", "http://user%2F%5C%3F%23%40name:%2F%5C%3F%23%40@localhost/")]
391391
public void ToString_EncodingUserInfo(string username, string password, string expectedToString)
392392
{
393393
var uriBuilder = new UriBuilder

0 commit comments

Comments
 (0)