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

Unified Diff: tests/compiler/dart2js/library_env_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
Index: tests/compiler/dart2js/library_env_test.dart
diff --git a/tests/compiler/dart2js/library_env_test.dart b/tests/compiler/dart2js/library_env_test.dart
index d162b729a578d7dea6109672e8e8992a09f08765..d07450ac1fdc48f00900f9acae889466ef509489 100644
--- a/tests/compiler/dart2js/library_env_test.dart
+++ b/tests/compiler/dart2js/library_env_test.dart
@@ -9,18 +9,14 @@ import "memory_source_file_helper.dart";
import "package:async_helper/async_helper.dart";
-import 'package:expect/expect.dart' show
- Expect;
+import 'package:expect/expect.dart' show Expect;
-import 'package:compiler/src/null_compiler_output.dart' show
- NullCompilerOutput;
+import 'package:compiler/src/null_compiler_output.dart' show NullCompilerOutput;
-import 'package:compiler/src/options.dart' show
- CompilerOptions;
+import 'package:compiler/src/options.dart' show CompilerOptions;
-import 'package:compiler/compiler_new.dart' show
- CompilerInput,
- CompilerDiagnostics;
+import 'package:compiler/compiler_new.dart'
+ show CompilerInput, CompilerDiagnostics;
const clientPlatform = r'''
[dart-spec]
@@ -75,13 +71,13 @@ class DummyCompilerDiagnostics implements CompilerDiagnostics {
class CustomCompiler extends CompilerImpl {
CustomCompiler(options, environment)
: super(
- const DummyCompilerInput(),
- const NullCompilerOutput(),
- const DummyCompilerDiagnostics(),
- new CompilerOptions.parse(
- libraryRoot: Uri.base.resolve("sdk/"),
- options: options,
- environment: environment));
+ const DummyCompilerInput(),
+ const NullCompilerOutput(),
+ const DummyCompilerDiagnostics(),
+ new CompilerOptions.parse(
+ libraryRoot: Uri.base.resolve("sdk/"),
+ options: options,
+ environment: environment));
}
runTest() async {
@@ -121,8 +117,7 @@ runTest() async {
// Check that user-defined env-variables win.
compiler = new CustomCompiler([],
- {'dart.library.collection': "false",
- 'dart.library.mock.client': "foo"});
+ {'dart.library.collection': "false", 'dart.library.mock.client': "foo"});
await compiler.setupSdk();
« no previous file with comments | « tests/compiler/dart2js/least_upper_bound_test.dart ('k') | tests/compiler/dart2js/line_column_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698