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

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

Issue 2809203003: Remove Compiler/JavaScriptBackend from metadata_collector (Closed)
Patch Set: Created 3 years, 8 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_test.dart
diff --git a/tests/compiler/dart2js/js_parser_test.dart b/tests/compiler/dart2js/js_parser_test.dart
index 513a04d6203a82d360d6d5f693af0185de69af17..9deec82478266c5b2b4ede954a192711a1b4cd15 100644
--- a/tests/compiler/dart2js/js_parser_test.dart
+++ b/tests/compiler/dart2js/js_parser_test.dart
@@ -12,8 +12,8 @@ import 'package:compiler/src/js/js.dart' show js;
Future testExpression(String expression, [String expect = ""]) {
jsAst.Node node = js(expression);
return MockCompiler.create((MockCompiler compiler) {
- String jsText =
- jsAst.prettyPrint(node, compiler, allowVariableMinification: false);
+ String jsText = jsAst.prettyPrint(node, compiler.options,
+ allowVariableMinification: false);
if (expect == "") {
Expect.stringEquals(expression, jsText);
} else {

Powered by Google App Engine
This is Rietveld 408576698