We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946d33d commit 4dc670bCopy full SHA for 4dc670b
opengrok-indexer/src/test/java/org/opengrok/indexer/history/MercurialRepositoryTest.java
@@ -124,7 +124,7 @@ public void testGetHistorySubdir() throws Exception {
124
125
// Add a subdirectory with some history.
126
runHgCommand(root, "import",
127
- getClass().getResource("/history/hg-export-subdir.txt").getPath());
+ Paths.get(getClass().getResource("/history/hg-export-subdir.txt").toURI()).toString());
128
129
MercurialRepository mr
130
= (MercurialRepository) RepositoryFactory.getRepository(root);
0 commit comments