Skip to content

Commit 7df5638

Browse files
author
Maksim Golev
committed
fix(#88265): Fix failed test.
1 parent d9144b1 commit 7df5638

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,9 @@ public static void IsBaseOf()
272272
Assert.False(parser.IsBaseOf(u, http), "http-4a");
273273
Assert.True(parser.IsBaseOf(http, u), "http-4b");
274274

275-
// docs says the UserInfo isn't evaluated, but...
276275
u = new Uri("http://username:password@www.mono-project.com/Main_Page");
277-
Assert.False(parser.IsBaseOf(u, http), "http-5a");
278-
Assert.False(parser.IsBaseOf(http, u), "http-5b");
276+
Assert.True(parser.IsBaseOf(u, http), "http-5a");
277+
Assert.True(parser.IsBaseOf(http, u), "http-5b");
279278

280279
// scheme case sensitive ? no
281280
u = new Uri("HTTP://www.mono-project.com/Main_Page");

0 commit comments

Comments
 (0)