Skip to content

Commit 6e4ec68

Browse files
author
Vladimir Kotal
committed
use file separator
1 parent 56fd05a commit 6e4ec68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/index/IndexerRepoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public void testSymlinks() throws IndexerException, IOException {
216216
List<RepositoryInfo> repos = env.getRepositories();
217217
assertEquals(repos.size(), 1);
218218
RepositoryInfo repo = repos.get(0);
219-
assertEquals("/" + SYMLINK, repo.getDirectoryNameRelative());
219+
assertEquals(File.separator + SYMLINK, repo.getDirectoryNameRelative());
220220
String epath = sourceRoot.toString() + File.separator + SYMLINK;
221221
String apath = repo.getDirectoryName();
222222
assertTrue("Should match (with macOS leeway):\n" + epath + "\nv.\n" +

0 commit comments

Comments
 (0)