Chromium Code Reviews| Index: tests/language/canonical_const2_test.dart |
| diff --git a/tests/language/canonical_const2_test.dart b/tests/language/canonical_const2_test.dart |
| index 02fb11e215b4ea3cc862c35f43dd4d506abb622c..8d2c89638ca664efe835d98e07c8e12b7e23b319 100644 |
| --- a/tests/language/canonical_const2_test.dart |
| +++ b/tests/language/canonical_const2_test.dart |
| @@ -5,5 +5,5 @@ |
| // Check that compile-time constants are correctly canonicalized. |
| main() { |
| - Expect.isTrue(const <num>[1,2] !== const <num>[1.0,2.0]); |
| + Expect.isTrue(!identical(const <num>[1,2], const <num>[1.0,2.0])); |
|
Lasse Reichstein Nielsen
2012/11/12 13:10:41
isFalse(identical
floitsch
2012/11/12 22:18:43
Done.
|
| } |