From 6c0a1ca19808da23b8fa231993f84d5c13ac61d0 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 19 Jan 2008 00:23:42 +0000 Subject: checked test --- test/files/jvm/serialization.scala | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/files/jvm/serialization.scala') diff --git a/test/files/jvm/serialization.scala b/test/files/jvm/serialization.scala index 2525bed803..3e729ead82 100755 --- a/test/files/jvm/serialization.scala +++ b/test/files/jvm/serialization.scala @@ -94,10 +94,7 @@ object Test2_immutable { Pair("title", 3) ) - val x2 = new ListMap[String, Int] + - Pair("buffers", 20) + - Pair("layers", 2) + - Pair("title", 3) + val x2 = new ListMap[String, Int] + ("buffers" -> 20, "layers" -> 2, "title" -> 3) val x3 = { val bs = new collection.mutable.BitSet() @@ -111,7 +108,7 @@ object Test2_immutable { val x6 = new Stack().push("a", "b", "c") - val x7 = new TreeMap[Int, String] + Pair(42, "FortyTwo") + val x7 = new TreeMap[Int, String] + (42 -> "FortyTwo") val x8 = new TreeSet[Int]() + 2 + 0 -- cgit v1.2.3