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

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

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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
« no previous file with comments | « tests/compiler/dart2js/union_type_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « tests/compiler/dart2js/union_type_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698