From a75d39a04db312f500de055a847a082380fee287 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Tue, 25 Aug 2009 08:24:30 +0000 Subject: fixed io test on windows --- test/files/jvm/unittest_io.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files') 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) //} -- cgit v1.2.3