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.scala9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/files/run/map_test.scala b/test/files/run/map_test.scala
index 1354577531..9c4bd2814e 100644
--- a/test/files/run/map_test.scala
+++ b/test/files/run/map_test.scala
@@ -4,12 +4,15 @@ import scala.collection.immutable.ListMap;
import scala.collection.immutable.Order;
object Test with Executable {
- // test1();
+ val intOrder =
+ new Order((x:int,y:int) => x < y, (x:int,y:int) => x == y);
+
+ test1();
test2();
+
Console.println("OK");
- val intOrder =
- new Order((x:int,y:int) => x < y, (x:int,y:int) => x == y);
+
def test1() = {
val myMap:TreeMap[int,String] = new TreeMap(intOrder);