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

Unified Diff: tests/language/compile_time_constant9_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/comparison_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant9_test.dart
diff --git a/tests/language/compile_time_constant9_test.dart b/tests/language/compile_time_constant9_test.dart
index a149c43f11c1b94efb802fbad0ac84b423695504..0b0b0821e52c61c1e85ea228c4e2faf6d074d0ee 100644
--- a/tests/language/compile_time_constant9_test.dart
+++ b/tests/language/compile_time_constant9_test.dart
@@ -12,5 +12,5 @@ class A {
}
main() {
- Expect.isTrue(new A().x === new A().x);
+ Expect.isTrue(identical(new A().x, new A().x));
}
« no previous file with comments | « tests/language/comparison_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698