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

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: 80chars. 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
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..27080dc869c18035475567aa44c4cfcb993ec881 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.equals(true, !identical(map1, map2));
Lasse Reichstein Nielsen 2012/11/12 13:10:41 isFalse.
floitsch 2012/11/12 22:18:43 Done.
var keys = map1.keys;
Expect.equals(2, keys.length);

Powered by Google App Engine
This is Rietveld 408576698