Skip to content

Commit bbb3ba8

Browse files
author
Vladimir Kotal
committed
change list of expected renamed files to native paths
1 parent b41b21c commit bbb3ba8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,9 @@ public void testHistory(boolean renamedHandling) throws Exception {
581581
File.separator + Paths.get("git", "header.h"),
582582
File.separator + Paths.get("git", "main.c"))));
583583

584-
List<String> expectedRenamedFiles = List.of("moved/renamed2.c", "moved2/renamed2.c", "moved/renamed.c");
584+
List<String> expectedRenamedFiles = List.of(Paths.get("moved", "renamed2.c").toString(),
585+
Paths.get("moved2", "renamed2.c").toString(),
586+
Paths.get("moved", "renamed.c").toString());
585587

586588
History history = gitrepo.getHistory(root);
587589
assertNotNull(history);

0 commit comments

Comments
 (0)