Skip to content

Commit 4dc670b

Browse files
author
Vladimir Kotal
committed
more Paths.get()
1 parent 946d33d commit 4dc670b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/MercurialRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void testGetHistorySubdir() throws Exception {
124124

125125
// Add a subdirectory with some history.
126126
runHgCommand(root, "import",
127-
getClass().getResource("/history/hg-export-subdir.txt").getPath());
127+
Paths.get(getClass().getResource("/history/hg-export-subdir.txt").toURI()).toString());
128128

129129
MercurialRepository mr
130130
= (MercurialRepository) RepositoryFactory.getRepository(root);

0 commit comments

Comments
 (0)