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

Unified Diff: tests/compiler/dart2js/type_checker_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/compiler/dart2js/scanner_test.dart ('k') | tests/compiler/dart2js/type_equals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_checker_test.dart
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
index 61d9286b573250889f5fe99cf3cdabab780b3d86..59209ff3dfdf41b10007aad93dff94e6cfdbfbd3 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -416,7 +416,7 @@ DartType analyzeType(String text) {
}
analyzeTopLevel(String text, [expectedWarnings]) {
- if (expectedWarnings === null) expectedWarnings = [];
+ if (expectedWarnings == null) expectedWarnings = [];
if (expectedWarnings is !List) expectedWarnings = [expectedWarnings];
LibraryElement library = mockLibrary(compiler, text);
@@ -437,7 +437,7 @@ analyzeTopLevel(String text, [expectedWarnings]) {
}
analyze(String text, [expectedWarnings]) {
- if (expectedWarnings === null) expectedWarnings = [];
+ if (expectedWarnings == null) expectedWarnings = [];
if (expectedWarnings is !List) expectedWarnings = [expectedWarnings];
Token tokens = scan(text);
@@ -456,7 +456,7 @@ analyze(String text, [expectedWarnings]) {
}
analyzeIn(ClassElement classElement, String text, [expectedWarnings]) {
- if (expectedWarnings === null) expectedWarnings = [];
+ if (expectedWarnings == null) expectedWarnings = [];
if (expectedWarnings is !List) expectedWarnings = [expectedWarnings];
Token tokens = scan(text);
« no previous file with comments | « tests/compiler/dart2js/scanner_test.dart ('k') | tests/compiler/dart2js/type_equals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698