summaryrefslogtreecommitdiff
path: root/test/files/run/map_test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/map_test.scala')
-rw-r--r--test/files/run/map_test.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/files/run/map_test.scala b/test/files/run/map_test.scala
index 9c4bd2814e..7e91955317 100644
--- a/test/files/run/map_test.scala
+++ b/test/files/run/map_test.scala
@@ -9,14 +9,13 @@ object Test with Executable {
test1();
test2();
-
Console.println("OK");
def test1() = {
val myMap:TreeMap[int,String] = new TreeMap(intOrder);
- test_map(myMap);
+ test_map(myMap);
}
def test2() = {
@@ -29,8 +28,7 @@ object Test with Executable {
val map2 = map1.update(17,"A small random number");
val map3 = map2.update(666,"A bigger random number");
val map4 = map3.update(4711,"A big random number");
- // val map1 = myMap + 42 -> "The answer";
- Console.println(map4);
+ map1 == myMap + 42 -> "The answer";
var i = 0;
var map = map4;
while(i < 43) {