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

Unified Diff: tests/language/ordered_maps_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/list_literal3_test.dart ('k') | tests/language/reg_exp2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/ordered_maps_test.dart
diff --git a/tests/language/ordered_maps_test.dart b/tests/language/ordered_maps_test.dart
index 7ea8102acf4fbf29c145aab602b388faf351eab2..ef0e8d923f1907e85cce99fd36fe81a2c1436bdd 100644
--- a/tests/language/ordered_maps_test.dart
+++ b/tests/language/ordered_maps_test.dart
@@ -11,7 +11,7 @@ class OrderedMapsTest {
}
static void testMaps(map1, map2, bool isConst) {
- Expect.equals(true, map1 !== map2);
+ Expect.isFalse(identical(map1, map2));
var keys = map1.keys;
Expect.equals(2, keys.length);
« no previous file with comments | « tests/language/list_literal3_test.dart ('k') | tests/language/reg_exp2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698