MARMOTTA-644: fixed path that makes a test fail on non-unix environments
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/f65617b6 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/f65617b6 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/f65617b6 Branch: refs/heads/MARMOTTA-584 Commit: f65617b6c13e988c0aca89af6bef4a3b2fc2840a Parents: 9252b54 Author: Sergio Fernández <[email protected]> Authored: Fri Jun 24 10:14:56 2016 +0200 Committer: Sergio Fernández <[email protected]> Committed: Fri Jun 24 10:14:56 2016 +0200 ---------------------------------------------------------------------- .../platform/ldp/services/LdpBinaryStoreServiceImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/f65617b6/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/services/LdpBinaryStoreServiceImplTest.java ---------------------------------------------------------------------- diff --git a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/services/LdpBinaryStoreServiceImplTest.java b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/services/LdpBinaryStoreServiceImplTest.java index ee96b8e..15e9738 100644 --- a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/services/LdpBinaryStoreServiceImplTest.java +++ b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/services/LdpBinaryStoreServiceImplTest.java @@ -47,7 +47,7 @@ public class LdpBinaryStoreServiceImplTest { final LdpBinaryStoreServiceImpl store = marmotta.getService(LdpBinaryStoreServiceImpl.class); final String test1 = "http://localhost:8080/foo/bar/123"; - Assert.assertThat(store.getFile(test1).toString(), CoreMatchers.endsWith("/localhost.8080/foo/bar/123")); + Assert.assertThat(store.getFile(test1).toString(), CoreMatchers.endsWith(Paths.get("/localhost.8080/foo/bar/123").toString())); // There might be more testing like this here... }
