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

Unified Diff: tests/language/comparison_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/comparison_test.dart
diff --git a/tests/language/comparison_test.dart b/tests/language/comparison_test.dart
index 84e646300409c1a1371d36c1ef44e5eb19721321..6bdaf1307df91197b4193b665cf2a960a53aca1d 100644
--- a/tests/language/comparison_test.dart
+++ b/tests/language/comparison_test.dart
@@ -5,11 +5,11 @@
class Helper {
static bool STRICT_EQ(a, b) {
- return a === b;
+ return identical(a, b);
}
static bool STRICT_NE(a, b) {
- return a !== b;
+ return !identical(a, b);
}
static bool EQ(a, b) {

Powered by Google App Engine
This is Rietveld 408576698