@@ -26,11 +26,11 @@ static void test(const char *self, const char *target, const char *expected)
2626
2727TEST (Search, SearchDecideStoredPathForm)
2828{
29- test (" C:\\ a \\ 1 \\ 2 \\ 3 \\ 4 \\ 5 \\ 6 \\ " , " C:\\ b \\ 1 \\ 2 \\ 3 \\ 4 \\ 5 \\ 6" , nullptr );
30- test (" D:\\ thcrap\\ " , " E:\\ th07\\ th07.exe" , nullptr );
31- test (" C:\\ Users\\ brliron\\ Downlods\\ thcrap\\ " , " C:\\ Program Files\\ Steam\\ common\\ th07\\ th07.exe" , nullptr );
32- test (" C:\\ Users\\ brliron\\ Desktop\\ games\\ tools\\ thcrap\\ " , " C:\\ Users\\ brliron\\ Desktop\\ games\\ th07\\ th07.exe" , " ..\\ .. \\ th07\\ th07.exe" );
33- test (" C:\\ Users\\ brliron\\ Desktop\\ games\\ th07\\ thcrap\\ " , " C:\\ Users\\ brliron\\ Desktop\\ games\\ th07\\ th07.exe" , " ..\\ th07.exe" );
34- test (" C:\\ Users\\ brliron\\ Desktop\\ games\\ " , " C:\\ Users\\ brliron\\ Desktop\\ games\\ th07\\ th07.exe" , " th07\\ th07.exe" );
35- test (" D:\\ thcrap\\ " , " D:\\ th07\\ th07.exe" , " ..\\ th07\\ th07.exe" );
29+ test (" C:/a/1/2/3/4/5/6/ " , " C:/b/1/2/3/4/5/ 6" , nullptr );
30+ test (" D:/ thcrap/ " , " E:/ th07/ th07.exe" , nullptr );
31+ test (" C:/ Users/ brliron/ Downlods/ thcrap/ " , " C:/ Program Files/ Steam/ common/ th07/ th07.exe" , nullptr );
32+ test (" C:/ Users/ brliron/ Desktop/ games/ tools/ thcrap/ " , " C:/ Users/ brliron/ Desktop/ games/ th07/ th07.exe" , " ../../ th07/ th07.exe" );
33+ test (" C:/ Users/ brliron/ Desktop/ games/ th07/ thcrap/ " , " C:/ Users/ brliron/ Desktop/ games/ th07/ th07.exe" , " ../ th07.exe" );
34+ test (" C:/ Users/ brliron/ Desktop/ games/ " , " C:/ Users/ brliron/ Desktop/ games/ th07/ th07.exe" , " th07/ th07.exe" );
35+ test (" D:/ thcrap/ " , " D:/ th07/ th07.exe" , " ../ th07/ th07.exe" );
3636}
0 commit comments