From 221f2a8d72c6ab35ac1747c6a53ba6d449821bd1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 16 Oct 2009 17:45:51 +0000 Subject: Fixed new implementation of Range. --- test/files/run/takeAndDrop.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run') 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) -- cgit v1.2.3