]> source.dussan.org Git - aspectj.git/commitdiff
Fix path separator for windows
authorAndy Clement <aclement@pivotal.io>
Mon, 4 Mar 2019 23:05:38 +0000 (15:05 -0800)
committerAndy Clement <aclement@pivotal.io>
Mon, 4 Mar 2019 23:05:38 +0000 (15:05 -0800)
build/src/test/java/org/aspectj/build/BuildModuleTests.java

index e7911723b02e710394a368de2e014cf96c53766d..7f75502798db10c4d44a9b6a9431f6fe15824903 100644 (file)
@@ -210,7 +210,7 @@ public class BuildModuleTests extends TestCase {
     }
     
     private boolean isTestFolder(File dir) {
-       return dir.toString().contains("src/test/java");
+       return dir.toString().contains("src"+File.separator+"test"+File.separator+"java");
     }
     
     /**