summaryrefslogtreecommitdiff
path: root/test/files/run/takeAndDrop.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/takeAndDrop.scala')
-rw-r--r--test/files/run/takeAndDrop.scala2
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)