Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: tests/language/ct_const2_test.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/constant_fold_equals_test.dart ('k') | tests/language/ct_const_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+const BOP11 = BOOL_LIT != true;
// Multiple binary expressions
const BOP20 = 1 * INT_LIT / 3 + INT_LIT + 9;
« no previous file with comments | « tests/language/constant_fold_equals_test.dart ('k') | tests/language/ct_const_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698