summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/unittest_io.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/unittest_io.scala b/test/files/jvm/unittest_io.scala
index f4f2e08c7c..9fbe0013a0 100644
--- a/test/files/jvm/unittest_io.scala
+++ b/test/files/jvm/unittest_io.scala
@@ -7,7 +7,7 @@ object Test extends TestConsoleMain {
new ReadlinesTest
)
- class ReadlinesTest extends TestCase("scala.io.Source method getLines") {
+ class ReadlinesTest extends TestCase("scala.io.Source method getLines()") {
val src = Source.fromString("""
This is a file
@@ -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().toList.length,5) // five new lines in there
//for(val line <- src.getLines) {
// Console.print(line)
//}