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

Unified Diff: tests/utils/dummy_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/standalone/io/web_socket_test.dart ('k') | tests/utils/utf8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index d0a7797d42537ea071ae648bed7ee364be0b6aa7..f7096f1f025bbc0c75393d663adf5af27c80db0c 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -47,7 +47,7 @@ Future<String> provider(Uri uri) {
}
void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
- if (uri === null) {
+ if (uri == null) {
print('$kind: $message');
} else {
print('$uri:$begin:$end: $kind: $message');
@@ -59,7 +59,7 @@ main() {
new Uri.fromComponents(scheme: 'lib', path: '/'),
new Uri.fromComponents(scheme: 'package', path: '/'),
provider, handler).value;
- if (code === null) {
+ if (code == null) {
throw 'Compilation failed';
}
}
« no previous file with comments | « tests/standalone/io/web_socket_test.dart ('k') | tests/utils/utf8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698