summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-08-25 08:24:30 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-08-25 08:24:30 +0000
commita75d39a04db312f500de055a847a082380fee287 (patch)
tree7d5ae55232e6342420d9fdce69d7cc40fb795ae0 /test/files
parent275ed574a8f41b61ad2593785ccb76ce7997ebfa (diff)
downloadscala-a75d39a04db312f500de055a847a082380fee287.tar.gz
scala-a75d39a04db312f500de055a847a082380fee287.tar.bz2
scala-a75d39a04db312f500de055a847a082380fee287.zip
fixed io test on windows
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)
//}