Chromium Code Reviews| Index: tests/language/ct_const2_test.dart |
| diff --git a/tests/language/ct_const2_test.dart b/tests/language/ct_const2_test.dart |
| index 3e3f017b5f972ba9258f329fe2aaff5f668517bd..330fe3d97b2d2220ebfd09f893fac290ee9c507e 100644 |
| --- a/tests/language/ct_const2_test.dart |
| +++ b/tests/language/ct_const2_test.dart |
| @@ -68,8 +68,8 @@ const BOP6 = BOOL_LIT && true; |
| const BOP7 = false || BOOL_LIT; |
| const BOP8 = STRING_LIT == "World!"; |
| const BOP9 = "Hello" != STRING_LIT; |
| -const BOP10 = INT_LIT === INT_LIT_REF; |
| -const BOP11 = BOOL_LIT !== true; |
| +const BOP10 = INT_LIT == INT_LIT_REF; |
|
Lasse Reichstein Nielsen
2012/11/12 13:10:41
Use identical here too.
It is a compile-time const
floitsch
2012/11/12 22:18:43
identical doesn't yet work on compile-time constan
|
| +const BOP11 = BOOL_LIT != true; |
| // Multiple binary expressions |
| const BOP20 = 1 * INT_LIT / 3 + INT_LIT + 9; |