Index: tests/compiler/dart2js/bad_loop_test.dart |
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart |
index bc6d43d59c2a176272aeaf61bbeb6680c6d5786e..979c8adfc19766669552537c58bf7f15d5b1285b 100644 |
--- a/tests/compiler/dart2js/bad_loop_test.dart |
+++ b/tests/compiler/dart2js/bad_loop_test.dart |
@@ -6,8 +6,7 @@ import 'package:expect/expect.dart'; |
import 'memory_source_file_helper.dart'; |
import "package:async_helper/async_helper.dart"; |
-import 'package:compiler/compiler.dart' |
- show Diagnostic; |
+import 'package:compiler/compiler.dart' show Diagnostic; |
import 'package:compiler/src/options.dart' show CompilerOptions; |
import 'package:compiler/src/old_to_new_api.dart'; |
@@ -19,8 +18,8 @@ main() { |
var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES); |
int warningCount = 0; |
int errorCount = 0; |
- void diagnosticHandler(Uri uri, int begin, int end, |
- String message, Diagnostic kind) { |
+ void diagnosticHandler( |
+ Uri uri, int begin, int end, String message, Diagnostic kind) { |
if (kind == Diagnostic.VERBOSE_INFO) { |
return; |
} |
@@ -37,14 +36,12 @@ main() { |
new LegacyCompilerInput(provider.readStringFromUri), |
new LegacyCompilerOutput(), |
new LegacyCompilerDiagnostics(diagnosticHandler), |
- new CompilerOptions( |
- libraryRoot: libraryRoot, |
- packageRoot: packageRoot)); |
+ new CompilerOptions(libraryRoot: libraryRoot, packageRoot: packageRoot)); |
asyncTest(() => compiler.run(Uri.parse('memory:main.dart')).then((_) { |
- Expect.isTrue(compiler.compilationFailed); |
- Expect.equals(5, errorCount); |
- Expect.equals(1, warningCount); |
- })); |
+ Expect.isTrue(compiler.compilationFailed); |
+ Expect.equals(5, errorCount); |
+ Expect.equals(1, warningCount); |
+ })); |
} |
const Map MEMORY_SOURCE_FILES = const { |