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

Unified Diff: tests/language/scope_variable_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/rethrow_test.dart ('k') | tests/language/static_const_field_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/scope_variable_test.dart
diff --git a/tests/language/scope_variable_test.dart b/tests/language/scope_variable_test.dart
index 7dc22888a9fe5c8d6b800cbf2185044989c4b3df..86716d0ed1afa74304b1056a35742ce9765c0b38 100644
--- a/tests/language/scope_variable_test.dart
+++ b/tests/language/scope_variable_test.dart
@@ -12,8 +12,8 @@ class ScopeVariableTest {
{
var c;
int d;
- Expect.equals(true, c === null);
- Expect.equals(true, d === null);
+ Expect.equals(true, c == null);
+ Expect.equals(true, d == null);
}
}
@@ -21,7 +21,7 @@ class ScopeVariableTest {
var a = "Test";
{
var a;
- Expect.equals(true, a === null);
+ Expect.equals(true, a == null);
a = "a";
Expect.equals(true, a == "a");
}
« no previous file with comments | « tests/language/rethrow_test.dart ('k') | tests/language/static_const_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698