summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/withIndex.check2
-rw-r--r--test/files/run/withIndex.scala2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/files/run/withIndex.check b/test/files/run/withIndex.check
index e8060bb1d7..6a9c7aaadb 100644
--- a/test/files/run/withIndex.check
+++ b/test/files/run/withIndex.check
@@ -1,5 +1,3 @@
-warning: there were unchecked warnings; re-run with -unchecked for details
-one warning found
List((a,0), (b,1), (c,2))
List((a,0), (b,1), (c,2))
List((a,0), (b,1), (c,2))
diff --git a/test/files/run/withIndex.scala b/test/files/run/withIndex.scala
index d06dde89f0..6d470878d9 100644
--- a/test/files/run/withIndex.scala
+++ b/test/files/run/withIndex.scala
@@ -11,7 +11,7 @@ object Test {
Console.println(str.zipWithIndex.toList)
assert {
ary.zipWithIndex match {
- case _: Array[Pair[String,Int]] => true
+ case _: Array[Pair[_,_]] => true
case _ => false
}
}