Permalink
Browse files

fix unit test MultiProtocolURL(file) assertion for Windows path with

drive letter.
  • Loading branch information...
reger24 committed Apr 19, 2017
1 parent c77e43a commit 7a7da698d4df809041925ce2ce25ad151af89a73
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/java/net/yacy/cora/document/id/MultiProtocolURLTest.java
@@ -397,7 +397,7 @@ public void testFileConstructor() throws MalformedURLException, URISyntaxExcepti
MultiProtocolURL url = new MultiProtocolURL(files[i]);
assertTrue(url.isFile());
/* Check consistency when retrieving a File object with getFSFile() */
assertEquals(files[i], url.getFSFile());
assertEquals(files[i].getAbsoluteFile(), url.getFSFile()); // url uses absolute file (on Windows includes drive letter)
}
}

0 comments on commit 7a7da69

Please sign in to comment.