diff options
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java index 6aef874e20..9c4c11cd25 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java @@ -356,7 +356,8 @@ public class URIishTest extends TestCase { public void testGetValidSlashHumanishName() throws IllegalArgumentException, URISyntaxException { - String humanishName = new URIish(GIT_SCHEME + "abc/").getHumanishName(); + String humanishName = new URIish(GIT_SCHEME + "host/abc/") + .getHumanishName(); assertEquals("abc", humanishName); } @@ -394,7 +395,7 @@ public class URIishTest extends TestCase { public void testGetValidDotGitSlashHumanishName() throws IllegalArgumentException, URISyntaxException { - String humanishName = new URIish(GIT_SCHEME + "abc.git/") + String humanishName = new URIish(GIT_SCHEME + "host.xy/abc.git/") .getHumanishName(); assertEquals("abc", humanishName); } |