diff options
Diffstat (limited to 'test/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 ed839e14c..b8cd88f2d 100644 --- a/test/test/CompilerTest.scala +++ b/test/test/CompilerTest.scala @@ -197,7 +197,7 @@ abstract class CompilerTest { assert(errorLines.length == nerrors, s"Not enough errors recorded.") val allFiles = (allArgs filter { - case arg => arg.endsWith(".scala") || arg.endsWith(".java") + arg => !arg.startsWith("-") && (arg.endsWith(".scala") || arg.endsWith(".java")) }).toList val expectedErrorsPerFile = allFiles.map(getErrors(_)) |