summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/jvm/unittest_io.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/unittest_io.scala b/test/files/jvm/unittest_io.scala
index 9fbe0013a0..0cf1165ec8 100644
--- a/test/files/jvm/unittest_io.scala
+++ b/test/files/jvm/unittest_io.scala
@@ -15,7 +15,7 @@ it is split on several lines.
isn't it?
""")
- def runTest() = assertEquals("wrong number of lines",src.getLines().toList.length,5) // five new lines in there
+ def runTest() = assertEquals("wrong number of lines",src.getLines("\n").toList.length,5) // five new lines in there
//for(val line <- src.getLines) {
// Console.print(line)
//}