Added another URI rewriting test case

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2013-08-08 10:56:46 +00:00
parent 78295c169a
commit 2d17d461bb
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ public class TestURIUtils {
URI.create("http://ThatHost")).toString());
Assert.assertEquals("http://That_Host/", URIUtils.rewriteURI(
URI.create("http://That_Host")).toString());
Assert.assertEquals("http://thishost/Fragment_identifier%23Examples",
URIUtils.rewriteURI(
URI.create("http://thishost/Fragment_identifier%23Examples")).toString());
}
@Test