aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-11-02 18:45:25 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-11-02 19:13:24 +0100
commitc48c4295766b096bfb8183643cfe6d4dd5c1a1c3 (patch)
tree58899631ef0538645e218e994ac1bee16ad9516a /test/dotc/tests.scala
parent26393627283e88514dc706d4e104130343d8abc3 (diff)
downloaddotty-c48c4295766b096bfb8183643cfe6d4dd5c1a1c3.tar.gz
dotty-c48c4295766b096bfb8183643cfe6d4dd5c1a1c3.tar.bz2
dotty-c48c4295766b096bfb8183643cfe6d4dd5c1a1c3.zip
Allow empty lines in whitelist file.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 42a20f1b2..0e7e526c2 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -169,6 +169,7 @@ class tests extends CompilerTest {
.map(_.trim) // allow identation
.filter(!_.startsWith("#")) // allow comment lines prefixed by #
.map(_.takeWhile(_ != "#").trim) // allow comments in the end of line
+ .filter(_.nonEmpty)
.toList
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles)