diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-20 20:19:54 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-20 20:19:54 +0000 |
commit | d13a2529aa8218836d13ee04303da4f3325933c2 (patch) | |
tree | 41273eefbf205c61c8a35fb74ad800e5d4ac5800 | |
parent | 898bd4b57c98c93bd4f16984143c256faa856d2b (diff) | |
download | scala-d13a2529aa8218836d13ee04303da4f3325933c2.tar.gz scala-d13a2529aa8218836d13ee04303da4f3325933c2.tar.bz2 scala-d13a2529aa8218836d13ee04303da4f3325933c2.zip |
As hash codes change, so do the tests - output ...
As hash codes change, so do the tests - output order for a HashMap is different now. No review.
-rw-r--r-- | test/files/jvm/serialization.check | 4 | ||||
-rw-r--r-- | test/files/jvm/serialization.scala | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/files/jvm/serialization.check b/test/files/jvm/serialization.check index 9397d3f7e9..9997ad4d7b 100644 --- a/test/files/jvm/serialization.check +++ b/test/files/jvm/serialization.check @@ -157,8 +157,8 @@ x = BitSet(0, 8, 9) y = BitSet(0, 8, 9) x equals y: true, y equals x: true -x = Map(A -> 1, C -> 3, B -> 2) -y = Map(B -> 2, C -> 3, A -> 1) +x = Map(C -> 3, B -> 2, A -> 1) +y = Map(A -> 1, B -> 2, C -> 3) x equals y: true, y equals x: true x = Set(layers, buffers, title) diff --git a/test/files/jvm/serialization.scala b/test/files/jvm/serialization.scala index b8656888c6..2db13c76fd 100644 --- a/test/files/jvm/serialization.scala +++ b/test/files/jvm/serialization.scala @@ -22,6 +22,7 @@ object Serialize { println("x = " + x) println("y = " + y) println("x equals y: " + (x equals y) + ", y equals x: " + (y equals x)) + assert((x equals y) && (y equals x)) println() } } |