@@ -547,35 +547,39 @@ public void testHistory(boolean renamedHandling) throws Exception {
547
547
new HistoryEntry ("84599b3c" , new Date (1485438707000L ),
548
548
"Kryštof Tulinger <[email protected] >" ,
null ,
549
549
" renaming directories\n \n " , true ,
550
- Set .of ("/ git/ moved2/ renamed2.c" )),
550
+ Set .of (File . separator + Paths . get ( " git" , " moved2" , " renamed2.c") )),
551
551
new HistoryEntry ("67dfbe26" , new Date (1485263397000L ),
552
552
"Kryštof Tulinger <[email protected] >" ,
null ,
553
553
" renaming renamed -> renamed2\n \n " , true ,
554
- Set .of ("/ git/ moved/ renamed2.c" )),
554
+ Set .of (File . separator + Paths . get ( " git" , " moved" , " renamed2.c") )),
555
555
new HistoryEntry ("1086eaf5" , new Date (1485263368000L ),
556
556
"Kryštof Tulinger <[email protected] >" ,
null ,
557
557
" adding some lines into renamed.c\n \n " , true ,
558
- Set .of ("/ git/ moved/ renamed.c" )),
558
+ Set .of (File . separator + Paths . get ( " git" , " moved" , " renamed.c") )),
559
559
new HistoryEntry ("b6413947" , new Date (1485263264000L ),
560
560
"Kryštof Tulinger <[email protected] >" ,
null ,
561
561
" moved renamed.c to new location\n \n " , true ,
562
- Set .of ("/ git/ moved/ renamed.c" )),
562
+ Set .of (File . separator + Paths . get ( " git" , " moved" , " renamed.c") )),
563
563
new HistoryEntry ("ce4c98ec" , new Date (1485263232000L ), // start in the sub-test below
564
564
"Kryštof Tulinger <[email protected] >" ,
null ,
565
565
" adding simple file for renamed file testing\n \n " , true ,
566
- Set .of ("/ git/ renamed.c" )),
566
+ Set .of (File . separator + Paths . get ( " git" , " renamed.c") )),
567
567
new HistoryEntry ("aa35c258" , new Date (1218571965000L ),
568
568
"Trond Norbye <[email protected] >" ,
null ,
569
569
" Add lint make target and fix lint warnings\n \n " , true ,
570
- Set .of ("/git/Makefile" , "/git/main.c" )),
570
+ Set .of (File .separator + Paths .get ("git" , "Makefile" ),
571
+ File .separator + Paths .get ("git" , "main.c" ))),
571
572
new HistoryEntry ("84821564" , new Date (1218571643000L ),
572
573
"Trond Norbye <[email protected] >" ,
null ,
573
574
" Add the result of a make on Solaris x86\n \n " , true ,
574
- Set .of ("/git/main.o" , "/git/testsprog" )),
575
+ Set .of (File .separator + Paths .get ("git" , "main.o" ),
576
+ File .separator + Paths .get ("git" , "testsprog" ))),
575
577
new HistoryEntry ("bb74b7e8" , new Date (1218571573000L ),
576
578
"Trond Norbye <[email protected] >" ,
null ,
577
579
" Added a small test program\n \n " , true ,
578
- Set .of ("/git/Makefile" , "/git/header.h" , "/git/main.c" )));
580
+ Set .of (File .separator + Paths .get ("git" , "Makefile" ),
581
+ File .separator + Paths .get ("git" , "header.h" ),
582
+ File .separator + Paths .get ("git" , "main.c" ))));
579
583
580
584
List <String > expectedRenamedFiles = List .of ("moved/renamed2.c" , "moved2/renamed2.c" , "moved/renamed.c" );
581
585
0 commit comments