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

Unified Diff: tests/compiler/dart2js/js_parser_statements_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 months 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
Index: tests/compiler/dart2js/js_parser_statements_test.dart
diff --git a/tests/compiler/dart2js/js_parser_statements_test.dart b/tests/compiler/dart2js/js_parser_statements_test.dart
index 72d53e1789ce613838473fe11eb562a35948a7ac..709b95730a571dd5537bc2763c27dd9490724854 100644
--- a/tests/compiler/dart2js/js_parser_statements_test.dart
+++ b/tests/compiler/dart2js/js_parser_statements_test.dart
@@ -28,7 +28,7 @@ Future testError(String statement, arguments, [String expect = ""]) {
}
void action() {
- jsAst.Node node = js.statement(statement, arguments);
+ js.statement(statement, arguments);
}
Expect.throws(action, doCheck);

Powered by Google App Engine
This is Rietveld 408576698