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 a2739032cf69116845f9f355915511614f5f05a4..49e48f9a92e4dd8e650cdbb28683faad35e3bc30 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.keys); |
- Expect.listEquals([499], m1.values); |
+ Expect.listEquals(['__proto__'], m1.keys.toList()); |
+ Expect.listEquals([499], m1.values.toList()); |
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.keys); |
- Expect.listEquals([499, 42], m2.values); |
+ Expect.listEquals(['a', 'b'], m2.keys.toList()); |
+ Expect.listEquals([499, 42], m2.values.toList()); |
Expect.isTrue(m2.containsKey('a')); |
Expect.isTrue(m2.containsKey('b')); |
Expect.isFalse(m2.containsKey('toString')); |