From e9d3987da750e2d6ce154dd3b2ceca309b665674 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 3 Jun 2010 17:58:27 +0000 Subject: Restored Source factories to a form source comp... Restored Source factories to a form source compatible with 2.7.7. No default implicit arguments, now low priority saves the day with a low priority codec which io.Codec offers as last resort. Dropped the line separator argument to getLines and made it act in a separator agnostic way (any of \r\n, \r, or \n is a separator.) Review by community. --- 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 80d33d8433..fd5889cb86 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("\n").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 (line <- src.getLines) { // Console.print(line) //} -- cgit v1.2.3