Skip to content

Commit

Permalink
Use forward slash as path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed May 27, 2024
1 parent d610a88 commit a5c0672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/pascal/taie/analysis/Tests.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static void test(String clz, boolean isMainClass,
*/
private static String getExpectedFile(String dir, String main, String id) {
String fileName = String.format("%s-%s-expected.txt", main, id);
return Path.of(dir, fileName).toString();
return Path.of(dir, fileName).toString().replace('\\', '/');
}

public static void testPTA(String dir, String main, String... opts) {
Expand Down

0 comments on commit a5c0672

Please sign in to comment.