aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVladimirNik <vladimir.nikolaev9@gmail.com>2016-02-18 19:10:57 +0100
committerVladimirNik <vladimir.nikolaev9@gmail.com>2016-02-18 19:10:57 +0100
commitff95503eba99e542605cb085894f35f53c4ef5b8 (patch)
treeb21e5abb39169f0ad359b9ffc0f402a6fd290bde /test
parent955b04a41ccefeac6bfec0158991c152165be6eb (diff)
downloaddotty-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.scala2
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(_))