diff options
author | Martin Odersky <odersky@gmail.com> | 2009-10-16 17:45:51 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-10-16 17:45:51 +0000 |
commit | 221f2a8d72c6ab35ac1747c6a53ba6d449821bd1 (patch) | |
tree | 2cad6e46a05fe084a10997b7bd5f7a6b82310033 /test/files | |
parent | 3a5e4c9e8bd50864a47152ccea2549c5c35ba9df (diff) | |
download | scala-221f2a8d72c6ab35ac1747c6a53ba6d449821bd1.tar.gz scala-221f2a8d72c6ab35ac1747c6a53ba6d449821bd1.tar.bz2 scala-221f2a8d72c6ab35ac1747c6a53ba6d449821bd1.zip |
Fixed new implementation of Range.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/takeAndDrop.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/takeAndDrop.scala b/test/files/run/takeAndDrop.scala index 896923ddc1..8d2dff0bfa 100644 --- a/test/files/run/takeAndDrop.scala +++ b/test/files/run/takeAndDrop.scala @@ -2,7 +2,7 @@ object Test { def main(args: Array[String]): Unit = { val range = 1 to 10 val target = (3 to 8).toList - val confirm = (xs: Seq[Int]) => assert(xs.toList == target) + val confirm = (xs: Seq[Int]) => assert(xs.toList == target, xs) confirm(range drop 2 dropRight 2) confirm(range drop 1 dropRight 1 drop 1 dropRight 1) |