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 { |