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

Unified Diff: tests/language/function_syntax_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/first_class_types_test.dart ('k') | tests/language/function_type_alias_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/function_syntax_test.dart
diff --git a/tests/language/function_syntax_test.dart b/tests/language/function_syntax_test.dart
index 131802fceed1952d6cb0fd01961db8337f9e2960..6ec8cd1c9727bed1eb91f15ff871b2cbbf60423c 100644
--- a/tests/language/function_syntax_test.dart
+++ b/tests/language/function_syntax_test.dart
@@ -442,8 +442,8 @@ class FunctionSyntaxTest {
// Equality.
expectEvaluatesTo(true, ()=> 1 == 1);
expectEvaluatesTo(false, ()=> 1 != 1);
- expectEvaluatesTo(true, ()=> 1 === 1);
- expectEvaluatesTo(false, ()=> 1 !== 1);
+ expectEvaluatesTo(true, ()=> identical(1, 1));
+ expectEvaluatesTo(false, ()=> !identical(1, 1));
// Relational.
expectEvaluatesTo(true, ()=> 1 <= 1);
« no previous file with comments | « tests/language/first_class_types_test.dart ('k') | tests/language/function_type_alias_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698