Index: tests/corelib/core_runtime_types_test.dart |
diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart |
index 660ee980a0516afb9ed409cbdababfb0a593de2a..d1733bd1d04cf1a2cee41eda757b8060bda9faee 100644 |
--- a/tests/corelib/core_runtime_types_test.dart |
+++ b/tests/corelib/core_runtime_types_test.dart |
@@ -223,20 +223,20 @@ class CoreRuntimeTypesTest { |
assertEquals(d.containsValue(3), false); |
assertEquals(d.containsKey('a'), true); |
assertEquals(d.containsKey('c'), false); |
- assertEquals(d.getKeys().length, 2); |
- assertEquals(d.getValues().length, 2); |
+ assertEquals(d.keys.length, 2); |
+ assertEquals(d.values.length, 2); |
assertEquals(d.remove('c'), null); |
assertEquals(d.remove('b'), 2); |
- assertListEquals(d.getKeys(), ['a']); |
- assertListEquals(d.getValues(), [1]); |
+ assertListEquals(d.keys, ['a']); |
+ assertListEquals(d.values, [1]); |
d['c'] = 3; |
d['f'] = 4; |
- assertEquals(d.getKeys().length, 3); |
- assertEquals(d.getValues().length, 3); |
- assertListContains(d.getKeys(), ['a', 'c', 'f']); |
- assertListContains(d.getValues(), [1, 3, 4]); |
+ assertEquals(d.keys.length, 3); |
+ assertEquals(d.values.length, 3); |
+ assertListContains(d.keys, ['a', 'c', 'f']); |
+ assertListContains(d.values, [1, 3, 4]); |
var count = 0; |
d.forEach((key, value) { |
@@ -250,8 +250,8 @@ class CoreRuntimeTypesTest { |
assertEquals(d.containsValue(3), false); |
assertEquals(d.containsKey('a'), true); |
assertEquals(d.containsKey('c'), false); |
- assertEquals(d.getKeys().length, 2); |
- assertEquals(d.getValues().length, 2); |
+ assertEquals(d.keys.length, 2); |
+ assertEquals(d.values.length, 2); |
d['g'] = null; |
assertEquals(d.containsKey('g'), true); |