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 f9a8ed1 commit 946d33dCopy full SHA for 946d33d
opengrok-indexer/src/test/java/org/opengrok/indexer/history/MercurialRepositoryTest.java
@@ -35,6 +35,7 @@
35
import java.io.File;
36
import java.io.IOException;
37
import java.io.InputStream;
38
+import java.nio.file.Paths;
39
import java.util.ArrayList;
40
import java.util.Arrays;
41
import java.util.Collections;
@@ -194,7 +195,7 @@ public void testGetHistoryBranch() throws Exception {
194
195
196
// Branch the repo and add one changeset.
197
runHgCommand(root, "unbundle",
- getClass().getResource("/history/hg-branch.bundle").getPath());
198
+ Paths.get(getClass().getResource("/history/hg-branch.bundle").toURI()).toString());
199
// Switch to the branch.
200
runHgCommand(root, "update", "mybranch");
201
0 commit comments