diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-07-16 13:03:33 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-07-16 13:03:33 +0000 |
commit | ed2532a39ac94d889294bf1ee4c7e29b8cfc8178 (patch) | |
tree | 73f9bdd71b00ceec06b93eeeb5457f2c0a005428 /test/files | |
parent | 05872beac8a47ea2a28194b7cde091a0ce3e0449 (diff) | |
download | scala-ed2532a39ac94d889294bf1ee4c7e29b8cfc8178.tar.gz scala-ed2532a39ac94d889294bf1ee4c7e29b8cfc8178.tar.bz2 scala-ed2532a39ac94d889294bf1ee4c7e29b8cfc8178.zip |
still aligning with trunk
Diffstat (limited to 'test/files')
-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 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) |