diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-06-16 18:36:00 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-06-16 18:36:00 +0000 |
commit | 59dc9f40bda5a1958f9187714f68568b039e0bcb (patch) | |
tree | 5b4e99196ec16941814f8ff7f33a6684d78931ff /test | |
parent | 4e9d57fd26861fcc050824054a9bd09c3fb1daaa (diff) | |
download | scala-59dc9f40bda5a1958f9187714f68568b039e0bcb.tar.gz scala-59dc9f40bda5a1958f9187714f68568b039e0bcb.tar.bz2 scala-59dc9f40bda5a1958f9187714f68568b039e0bcb.zip |
temporarily reversing r22260; will be shortly r...
temporarily reversing r22260; will be shortly re-committed in two
separate portions.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/colltest1.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala index dd9ecdbd5e..943fe4c4e7 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.sorted - val vs2 = gs.values.toList.flatten.sorted + val vs1 = (for (k <- gs.keysIterator; v <- gs(k).toIterable.iterator) yield v).toList + val vs2 = gs.values.toList.flatten // val vs2 = gs.values.toList flatMap (xs => xs) assert(ten.head == 1) assert(ten.tail.head == 2) |