diff options
author | Shawn Pearce <sop@google.com> | 2013-11-01 14:52:04 +0100 |
---|---|---|
committer | Shawn Pearce <sop@google.com> | 2013-11-01 19:57:47 -0700 |
commit | 69c1244989e3524c85bc980940c7e6670bc76e11 (patch) | |
tree | b1204cfc90df529b056fbd1f0455d932e9c650a5 /org.eclipse.jgit.http.test/tst | |
parent | b0dbb78e7d2287a5391a75e399009bf2203c4f24 (diff) | |
download | jgit-69c1244989e3524c85bc980940c7e6670bc76e11.tar.gz jgit-69c1244989e3524c85bc980940c7e6670bc76e11.zip |
Use getPath() in FileResolverTest
Necessary to get tests to pass when running under Buck.
Has no impact on Maven based invocation of tests.
Change-Id: I437114863df0bac346c94ef13796def47333d916
Diffstat (limited to 'org.eclipse.jgit.http.test/tst')
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java index 8d0ba964c6..7c6d591513 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java +++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java @@ -153,7 +153,7 @@ public class FileResolverTest extends LocalDiskRepositoryTestCase { Throwable why = e.getCause(); assertNotNull("has cause", why); assertEquals("repository not found: " - + new File(base, name).getAbsolutePath(), why.getMessage()); + + new File(base, name).getPath(), why.getMessage()); } } } |