diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test/CompilerTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/CompilerTest.scala b/test/test/CompilerTest.scala index 6bd5f7030..dea6a30b1 100644 --- a/test/test/CompilerTest.scala +++ b/test/test/CompilerTest.scala @@ -228,7 +228,7 @@ abstract class CompilerTest { private def expectedErrors(filePath: String): List[ErrorsInFile] = expectedErrors(List(filePath)) - private def isNegTest(testPath: String) = testPath.contains(JFile.separator + "neg" + JFile.separator) + private def isNegTest(testPath: String) = testPath.contains("/neg/") private def compileArgs(args: Array[String], expectedErrorsPerFile: List[ErrorsInFile]) (implicit defaultOptions: List[String]): Unit = { |