Skip to content

Commit c48c429

Browse files
committed
Allow empty lines in whitelist file.
1 parent 2639362 commit c48c429

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ class tests extends CompilerTest {
169169
.map(_.trim) // allow identation
170170
.filter(!_.startsWith("#")) // allow comment lines prefixed by #
171171
.map(_.takeWhile(_ != "#").trim) // allow comments in the end of line
172+
.filter(_.nonEmpty)
172173
.toList
173174

174175
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles)

0 commit comments

Comments
 (0)