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

Unified Diff: tests/compiler/dart2js/compiler_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/compiler_helper.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/compiler_test.dart
diff --git a/tests/compiler/dart2js/compiler_test.dart b/tests/compiler/dart2js/compiler_test.dart
index aa55ebae3ae85c2707c36c89b09d74ce32bb04ae..642f7bea90ce3e1c87d4154cebd848a3c6ad90cc 100644
--- a/tests/compiler/dart2js/compiler_test.dart
+++ b/tests/compiler/dart2js/compiler_test.dart
@@ -20,12 +20,12 @@ class CallbackMockCompiler extends MockCompiler {
setOnWarning(var f) => onWarning = f;
void reportWarning(Node node, var message) {
- if (onWarning !== null) onWarning(this, node, message);
+ if (onWarning != null) onWarning(this, node, message);
super.reportWarning(node, message);
}
void reportError(Node node, var message) {
- if (onError !== null) onError(this, node, message);
+ if (onError != null) onError(this, node, message);
super.reportError(node, message);
}
}
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698