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

Unified Diff: tests/language/first_class_types_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/first_class_types_test.dart
diff --git a/tests/language/first_class_types_test.dart b/tests/language/first_class_types_test.dart
index 5db1e5462bf99418153c8fa088197115381c6715..080607c4193435204b0ddd636adaf948da1c4652 100644
--- a/tests/language/first_class_types_test.dart
+++ b/tests/language/first_class_types_test.dart
@@ -11,7 +11,7 @@ sameType(a, b) {
differentType(a, b) {
print("a: ${a.runtimeType}");
print("b: ${b.runtimeType}");
- Expect.isFalse(a.runtimeType === b.runtimeType);
+ Expect.isFalse(identical(a.runtimeType, b.runtimeType));
Lasse Reichstein Nielsen 2012/11/12 13:10:41 Remove prints.
floitsch 2012/11/12 22:18:43 Done.
}
main() {

Powered by Google App Engine
This is Rietveld 408576698