Index: tests/compiler/dart2js/command_line_test.dart |
diff --git a/tests/compiler/dart2js/command_line_test.dart b/tests/compiler/dart2js/command_line_test.dart |
index fe2842e997d4ad64b2f4016875c65116e56d043b..7ccc43d0582eb0fa86b691c7fca7ef24f371d9f2 100644 |
--- a/tests/compiler/dart2js/command_line_test.dart |
+++ b/tests/compiler/dart2js/command_line_test.dart |
@@ -19,8 +19,7 @@ main() { |
await test([], exitCode: 1); |
await test(['foo.dart']); |
await test([Flags.resolveOnly, 'foo.dart'], |
- resolveOnly: true, |
- resolutionOutput: Uri.base.resolve('out.data')); |
+ resolveOnly: true, resolutionOutput: Uri.base.resolve('out.data')); |
await test(['--resolution-input=bar.dart', 'foo.dart'], |
resolutionInputs: [Uri.base.resolve('bar.dart')]); |
await test([Flags.resolveOnly, '--resolution-input=bar.dart', 'foo.dart'], |
@@ -34,9 +33,9 @@ main() { |
Future test(List<String> arguments, |
{int exitCode, |
- bool resolveOnly: false, |
- Uri resolutionOutput, |
- List<Uri> resolutionInputs}) async { |
+ bool resolveOnly: false, |
+ Uri resolutionOutput, |
+ List<Uri> resolutionInputs}) async { |
print('--------------------------------------------------------------------'); |
print('dart2js ${arguments.join(' ')}'); |
print('--------------------------------------------------------------------'); |
@@ -62,13 +61,13 @@ Future test(List<String> arguments, |
Expect.equals(exitCode, actualExitCode, "Unexpected exit code"); |
if (actualExitCode == null) { |
Expect.isNotNull(options, "Missing options object"); |
- Expect.equals(resolveOnly, options.resolveOnly, |
- "Unexpected resolveOnly value"); |
+ Expect.equals( |
+ resolveOnly, options.resolveOnly, "Unexpected resolveOnly value"); |
Expect.equals(resolutionOutput, options.resolutionOutput, |
"Unexpected resolutionOutput value"); |
if (resolutionInputs == null) { |
- Expect.isNull(options.resolutionInputs, |
- "Unexpected resolutionInputs value"); |
+ Expect.isNull( |
+ options.resolutionInputs, "Unexpected resolutionInputs value"); |
} else { |
Expect.listEquals(resolutionInputs, options.resolutionInputs, |
"Unexpected resolutionInputs value"); |
@@ -77,4 +76,4 @@ Future test(List<String> arguments, |
entry.compileFunc = oldCompileFunc; |
entry.exitFunc = oldExitFunc; |
-} |
+} |