Chromium Code Reviews| Index: tests/language/compile_time_constant_a_test.dart |
| diff --git a/tests/language/compile_time_constant_a_test.dart b/tests/language/compile_time_constant_a_test.dart |
| index 1d32b374abb7d410496f5d7e1787d169ab7d7584..27a3f6580452de479f0a40b4a8df97f3aeb817a9 100644 |
| --- a/tests/language/compile_time_constant_a_test.dart |
| +++ b/tests/language/compile_time_constant_a_test.dart |
| @@ -73,8 +73,8 @@ main() { |
| Expect.throws(() => m2.putIfAbsent('z', () => 499), isUnsupportedError); |
| Expect.throws(() => m2['a'] = 499, isUnsupportedError); |
| - Expect.isTrue(m3['m1'] === m1); |
| - Expect.isTrue(m3['m2'] === m2); |
| + Expect.isTrue(identical(m3['m1'], m1)); |
|
Lasse Reichstein Nielsen
2012/11/12 13:10:41
Expect.identical
floitsch
2012/11/12 22:18:43
Done.
|
| + Expect.isTrue(identical(m3['m2'], m2)); |
| Expect.listEquals(['z', 'a', 'm'], m4.keys); |
| Expect.listEquals([9, 8, 7], m4.values); |
| @@ -91,7 +91,7 @@ main() { |
| Expect.isTrue(m5.containsKey('')); |
| Expect.equals(1, m5.length); |
| - Expect.isTrue(m1 === m6); |
| + Expect.isTrue(identical(m1, m6)); |
| Expect.isTrue(m7.isEmpty); |
| Expect.equals(0, m7.length); |