Index: tests/language/ordered_maps_test.dart |
diff --git a/tests/language/ordered_maps_test.dart b/tests/language/ordered_maps_test.dart |
index 7bcf697bb3f6259d60becb9d8820ccbe08bd33dc..7ea8102acf4fbf29c145aab602b388faf351eab2 100644 |
--- a/tests/language/ordered_maps_test.dart |
+++ b/tests/language/ordered_maps_test.dart |
@@ -13,22 +13,22 @@ class OrderedMapsTest { |
static void testMaps(map1, map2, bool isConst) { |
Expect.equals(true, map1 !== map2); |
- var keys = map1.getKeys(); |
+ var keys = map1.keys; |
Expect.equals(2, keys.length); |
Expect.equals("a", keys[0]); |
Expect.equals("c", keys[1]); |
- keys = map2.getKeys(); |
+ keys = map2.keys; |
Expect.equals(2, keys.length); |
Expect.equals("c", keys[0]); |
Expect.equals("a", keys[1]); |
- var values = map1.getValues(); |
+ var values = map1.values; |
Expect.equals(2, values.length); |
Expect.equals(1, values[0]); |
Expect.equals(2, values[1]); |
- values = map2.getValues(); |
+ values = map2.values; |
Expect.equals(2, values.length); |
Expect.equals(2, values[0]); |
Expect.equals(1, values[1]); |
@@ -38,36 +38,36 @@ class OrderedMapsTest { |
map1["b"] = 3; |
map2["b"] = 3; |
- keys = map1.getKeys(); |
+ keys = map1.keys; |
Expect.equals(3, keys.length); |
Expect.equals("a", keys[0]); |
Expect.equals("c", keys[1]); |
Expect.equals("b", keys[2]); |
- keys = map2.getKeys(); |
+ keys = map2.keys; |
Expect.equals(3, keys.length); |
Expect.equals("c", keys[0]); |
Expect.equals("a", keys[1]); |
Expect.equals("b", keys[2]); |
- values = map1.getValues(); |
+ values = map1.values; |
Expect.equals(3, values.length); |
Expect.equals(1, values[0]); |
Expect.equals(2, values[1]); |
Expect.equals(3, values[2]); |
- values = map2.getValues(); |
+ values = map2.values; |
Expect.equals(3, values.length); |
Expect.equals(2, values[0]); |
Expect.equals(1, values[1]); |
Expect.equals(3, values[2]); |
map1["a"] = 4; |
- keys = map1.getKeys(); |
+ keys = map1.keys; |
Expect.equals(3, keys.length); |
Expect.equals("a", keys[0]); |
- values = map1.getValues(); |
+ values = map1.values; |
Expect.equals(3, values.length); |
Expect.equals(4, values[0]); |
} |