diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 19:10:57 +0100 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 19:10:57 +0100 |
commit | ff95503eba99e542605cb085894f35f53c4ef5b8 (patch) | |
tree | b21e5abb39169f0ad359b9ffc0f402a6fd290bde /test | |
parent | 955b04a41ccefeac6bfec0158991c152165be6eb (diff) | |
download | dotty-ff95503eba99e542605cb085894f35f53c4ef5b8.tar.gz dotty-ff95503eba99e542605cb085894f35f53c4ef5b8.tar.bz2 dotty-ff95503eba99e542605cb085894f35f53c4ef5b8.zip |
Neg tests: filename checking updated
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 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(_)) |