Index: tests/compiler/dart2js/unparser2_test.dart |
diff --git a/tests/compiler/dart2js/unparser2_test.dart b/tests/compiler/dart2js/unparser2_test.dart |
index 7053e6a84650e8c03c92534ece86d4fac8c67ac3..d63bdb49b8add8b8feaa108146749387a252dcfb 100644 |
--- a/tests/compiler/dart2js/unparser2_test.dart |
+++ b/tests/compiler/dart2js/unparser2_test.dart |
@@ -12,11 +12,9 @@ import "package:compiler/src/tree/tree.dart"; |
import "package:compiler/src/diagnostics/diagnostic_listener.dart"; |
import "package:compiler/src/elements/elements.dart" |
- show CompilationUnitElement, |
- LibraryElement; |
+ show CompilationUnitElement, LibraryElement; |
import "package:compiler/src/elements/modelx.dart" |
- show CompilationUnitElementX, |
- LibraryElementX; |
+ show CompilationUnitElementX, LibraryElementX; |
import "package:compiler/src/script.dart"; |
import "options_helper.dart"; |
@@ -93,8 +91,8 @@ String doUnparse(String source) { |
CompilationUnitElement element = new CompilationUnitElementX(script, lib); |
StringScanner scanner = new StringScanner.fromString(source); |
Token beginToken = scanner.tokenize(); |
- NodeListener listener = new NodeListener( |
- const ScannerOptions(), diagnosticListener, element); |
+ NodeListener listener = |
+ new NodeListener(const ScannerOptions(), diagnosticListener, element); |
Parser parser = new Parser(listener, new MockParserOptions()); |
parser.parseUnit(beginToken); |
Node node = listener.popNode(); |