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

Unified Diff: tests/compiler/dart2js/codegen_helper.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/code_motion_test.dart ('k') | tests/compiler/dart2js/combinator_hint_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/codegen_helper.dart
diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart
index cd45136efcbd028048704f06c465676ffc9598f2..b578c567589a5c9bc0aec7c31d25c32eb10a7129 100644
--- a/tests/compiler/dart2js/codegen_helper.dart
+++ b/tests/compiler/dart2js/codegen_helper.dart
@@ -14,18 +14,19 @@ Future<Map<String, String>> generate(String code,
Uri libraryRoot = script.resolve('../../../sdk/');
Uri packageRoot = script.resolve('./packages/');
- var provider = new MemorySourceFileProvider({ 'main.dart': code });
+ var provider = new MemorySourceFileProvider({'main.dart': code});
var handler = new FormattingDiagnosticHandler(provider);
Uri uri = Uri.parse('memory:main.dart');
- CompilerImpl compiler = new CompilerImpl(provider,
- const NullCompilerOutput(),
- handler,
- new CompilerOptions.parse(
- entryPoint: uri,
- libraryRoot: libraryRoot,
- packageRoot: packageRoot,
- options: options));
+ CompilerImpl compiler = new CompilerImpl(
+ provider,
+ const NullCompilerOutput(),
+ handler,
+ new CompilerOptions.parse(
+ entryPoint: uri,
+ libraryRoot: libraryRoot,
+ packageRoot: packageRoot,
+ options: options));
return compiler.run(uri).then((success) {
Expect.isTrue(success);
Map<String, String> result = new Map<String, String>();
« no previous file with comments | « tests/compiler/dart2js/code_motion_test.dart ('k') | tests/compiler/dart2js/combinator_hint_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698