summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-06-03 17:58:27 +0000
committerPaul Phillips <paulp@improving.org>2010-06-03 17:58:27 +0000
commite9d3987da750e2d6ce154dd3b2ceca309b665674 (patch)
treef8741728ff1f0d642549bf882883e22e3db19bbb /test/files
parent43e5eff2c8c3fbf1bba1440db9c5780179b70c6e (diff)
downloadscala-e9d3987da750e2d6ce154dd3b2ceca309b665674.tar.gz
scala-e9d3987da750e2d6ce154dd3b2ceca309b665674.tar.bz2
scala-e9d3987da750e2d6ce154dd3b2ceca309b665674.zip
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.
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 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)
//}