diff options
author | michelou <michelou@epfl.ch> | 2010-10-23 12:04:19 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2010-10-23 12:04:19 +0000 |
commit | 246b590a4a5d7df4b3db2204e84497dbabc5edac (patch) | |
tree | 4b7fed6a2a88883bbb372e7ec169d42865ea6af6 /test/files/run/unapply.scala | |
parent | 006fbc37ca3c3b47090c937d7cc5a1c49d005f09 (diff) | |
download | scala-246b590a4a5d7df4b3db2204e84497dbabc5edac.tar.gz scala-246b590a4a5d7df4b3db2204e84497dbabc5edac.tar.bz2 scala-246b590a4a5d7df4b3db2204e84497dbabc5edac.zip |
removed warnings in test files
Diffstat (limited to 'test/files/run/unapply.scala')
-rw-r--r-- | test/files/run/unapply.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/unapply.scala b/test/files/run/unapply.scala index acbce58d35..810616850d 100644 --- a/test/files/run/unapply.scala +++ b/test/files/run/unapply.scala @@ -111,7 +111,7 @@ object StreamFoo extends TestCase("unapply for Streams") with Assert { case Stream.cons(hd, tl) => hd + sum(tl) } override def runTest { - val str: Stream[Int] = Stream.fromIterator(List(1,2,3).iterator) + val str: Stream[Int] = List(1,2,3).toStream assertEquals(sum(str), 6) } } |