summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2010-06-16 18:46:28 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2010-06-16 18:46:28 +0000
commitb9034f4cd52ad6cc8c77da09f3170593672dea03 (patch)
tree6dcc92fd0d5b13bf74b162c07cb9ec3d18e3070d /test/files/run
parentfd9ddea91f21ede82cb9083c24e91c3b47da178b (diff)
downloadscala-b9034f4cd52ad6cc8c77da09f3170593672dea03.tar.gz
scala-b9034f4cd52ad6cc8c77da09f3170593672dea03.tar.bz2
scala-b9034f4cd52ad6cc8c77da09f3170593672dea03.zip
first part of r22260
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/colltest1.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala
index 943fe4c4e7..dd9ecdbd5e 100644
--- a/test/files/run/colltest1.scala
+++ b/test/files/run/colltest1.scala
@@ -29,8 +29,8 @@ object Test extends Application {
val (o, e) = ten.partition(_ % 2 == 0)
assert(o.size == e.size)
val gs = ten groupBy (x => x / 4)
- val vs1 = (for (k <- gs.keysIterator; v <- gs(k).toIterable.iterator) yield v).toList
- val vs2 = gs.values.toList.flatten
+ val vs1 = (for (k <- gs.keysIterator; v <- gs(k).toIterable.iterator) yield v).toList.sorted
+ val vs2 = gs.values.toList.flatten.sorted
// val vs2 = gs.values.toList flatMap (xs => xs)
assert(ten.head == 1)
assert(ten.tail.head == 2)