Index: tests/language/compile_time_constant_b_test.dart |
diff --git a/tests/language/compile_time_constant_b_test.dart b/tests/language/compile_time_constant_b_test.dart |
index 7dce3cf8fd0a5f7b564c51cd2c8fa28b906b190a..a2739032cf69116845f9f355915511614f5f05a4 100644 |
--- a/tests/language/compile_time_constant_b_test.dart |
+++ b/tests/language/compile_time_constant_b_test.dart |
@@ -11,8 +11,8 @@ bool isUnsupportedError(o) => o is UnsupportedError; |
main() { |
Expect.equals(499, m1['__proto__']); |
Expect.equals(null, m1['b']); |
- Expect.listEquals(['__proto__'], m1.getKeys()); |
- Expect.listEquals([499], m1.getValues()); |
+ Expect.listEquals(['__proto__'], m1.keys); |
+ Expect.listEquals([499], m1.values); |
Expect.isTrue(m1.containsKey('__proto__')); |
Expect.isFalse(m1.containsKey('toString')); |
Expect.isTrue(m1.containsValue(499)); |
@@ -40,8 +40,8 @@ main() { |
Expect.equals(42, m2['b']); |
Expect.equals(null, m2['c']); |
Expect.equals(null, m2['__proto__']); |
- Expect.listEquals(['a', 'b'], m2.getKeys()); |
- Expect.listEquals([499, 42], m2.getValues()); |
+ Expect.listEquals(['a', 'b'], m2.keys); |
+ Expect.listEquals([499, 42], m2.values); |
Expect.isTrue(m2.containsKey('a')); |
Expect.isTrue(m2.containsKey('b')); |
Expect.isFalse(m2.containsKey('toString')); |