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")); }
public void TestPrettyUnescape() => FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##example.com#test1.xml" : "http%3a##example.com#test1.xml").Should().Be(FeedTest.Test1Uri);
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); }