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 2c124401f2ba0c52456d57c407d8d4ea6b3d8c3a..6c18de35b7d149daf263339cb7047211d8a45fcd 100644 |
--- a/tests/compiler/dart2js/js_parser_statements_test.dart |
+++ b/tests/compiler/dart2js/js_parser_statements_test.dart |
@@ -14,8 +14,7 @@ Future testStatement(String statement, arguments, String expect) { |
jsAst.Node node = js.statement(statement, arguments); |
return MockCompiler.create((MockCompiler compiler) { |
String jsText = |
- jsAst.prettyPrint(node, compiler, allowVariableMinification: false) |
- .getText(); |
+ jsAst.prettyPrint(node, compiler, allowVariableMinification: false); |
Expect.stringEquals(expect.trim(), jsText.trim()); |
}); |