コード例 #1
0
 public void TestPrettyUnescape()
 {
     Assert.AreEqual(
         FeedTest.Test1Uri,
         // Colon is preserved on POSIX systems but not on other OSes
         FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##0install.de#feeds#test#test1.xml" : "http%3a##0install.de#feeds#test#test1.xml"));
 }
コード例 #2
0
 public void TestPrettyUnescape()
 => FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##example.com#test1.xml" : "http%3a##example.com#test1.xml").Should().Be(FeedTest.Test1Uri);
コード例 #3
0
 public void TestPrettyUnescape()
 {
     FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##0install.de#feeds#test#test1.xml" : "http%3a##0install.de#feeds#test#test1.xml").Should().Be(
         FeedTest.Test1Uri);
 }