@@ -744,8 +744,8 @@ public static IEnumerable<object[]> FilePathHandlesNonAscii_TestData()
744
744
if ( PlatformDetection . IsNotWindows )
745
745
{
746
746
// Unix absolute file path
747
- yield return new object [ ] { "/\u00FC ri/" , "/\u00FC ri/" , "/%C3%BCri/" , "file:///%C3%BCri/" , "/\u00FC ri/" } ;
748
- yield return new object [ ] { "/a/b\uD83D \uDE1F /Foo.cs" , "/ a/b\uD83D \uDE1F /Foo.cs" , "/a/b%F0%9F%98%9F/Foo.cs" , "file:///a/b%F0%9F%98%9F/Foo.cs" , "a/b\uD83D \uDE1F /Foo.cs" } ;
747
+ yield return new object [ ] { "/\u00FC ri/" , "file:// /\u00FC ri/" , "/%C3%BCri/" , "file:///%C3%BCri/" , "/\u00FC ri/" } ;
748
+ yield return new object [ ] { "/a/b\uD83D \uDE1F /Foo.cs" , "file:/// a/b\uD83D \uDE1F /Foo.cs" , "/a/b%F0%9F%98%9F/Foo.cs" , "file:///a/b%F0%9F%98%9F/Foo.cs" , "/ a/b\uD83D \uDE1F /Foo.cs" } ;
749
749
}
750
750
751
751
// Absolute fie path
@@ -770,13 +770,13 @@ public static IEnumerable<object[]> FilePathHandlesNonAscii_TestData()
770
770
}
771
771
else
772
772
{
773
- yield return new object [ ] { "/a/?b/c\u00FC /" , "/a/?b /c\u00FC /" , "/a/?b /c%C3%BC/" , "file:///a/?b /c%C3%BC/" , "/a/?b/c\u00FC /" } ;
774
- yield return new object [ ] { "/a/#b/c\u00FC /" , "/a/#b /c\u00FC /" , "/a/#b /c%C3%BC/" , "file:///a/#b /c%C3%BC/" , "/a/#b/c\u00FC /" } ;
775
- yield return new object [ ] { "/a/?b/#c/d\u00FC /" , "/a/#b/c \u00FC /" , "/a/?b/#c /d%C3%BC/" , "file:///a/?b/#c /d%C3%BC/" , "/a/?b/#c/d\u00FC /" } ;
773
+ yield return new object [ ] { "/a/?b/c\u00FC /" , "file:///a/%3Fb /c\u00FC /" , "/a/%3Fb /c%C3%BC/" , "file:///a/%3Fb /c%C3%BC/" , "/a/?b/c\u00FC /" } ;
774
+ yield return new object [ ] { "/a/#b/c\u00FC /" , "file:///a/%23b /c\u00FC /" , "/a/%23b /c%C3%BC/" , "file:///a/%23b /c%C3%BC/" , "/a/#b/c\u00FC /" } ;
775
+ yield return new object [ ] { "/a/?b/#c/d\u00FC /" , "file:///a/%3Fb/%23c/d \u00FC /" , "/a/%3Fb/%23c /d%C3%BC/" , "file:///a/%3Fb/%23c /d%C3%BC/" , "/a/?b/#c/d\u00FC /" } ;
776
776
777
- yield return new object [ ] { "file:///a/?b/c\u00FC /" , "file:///a/?b/c\u00FC /" , "/a/?b/c%C3%BC/ " , "file:///a/?b/c%C3%BC/" , "/a/?b/c \u00FC /" } ;
778
- yield return new object [ ] { "file:///a/#b/c\u00FC /" , "file:///a/#b/c\u00FC /" , "/a/#b/c%C3%BC/ " , "file:///a/#b/c%C3%BC/" , "/a/#b/c \u00FC /" } ;
779
- yield return new object [ ] { "file:///a/?b/#c/d\u00FC /" , "file:///a/?b/#c/d\u00FC /" , "/a/?b/#c/d%C3%BC/ " , "file:///a/?b/#c/d%C3%BC/" , "/a/?b/#c/d \u00FC /" } ;
777
+ yield return new object [ ] { "file:///a/?b/c\u00FC /" , "file:///a/?b/c\u00FC /" , "/a/" , "file:///a/?b/c%C3%BC/" , "/a/" } ;
778
+ yield return new object [ ] { "file:///a/#b/c\u00FC /" , "file:///a/#b/c\u00FC /" , "/a/" , "file:///a/#b/c%C3%BC/" , "/a/" } ;
779
+ yield return new object [ ] { "file:///a/?b/#c/d\u00FC /" , "file:///a/?b/#c/d\u00FC /" , "/a/" , "file:///a/?b/#c/d%C3%BC/" , "/a/" } ;
780
780
}
781
781
}
782
782
0 commit comments