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); |