Index: tests/compiler/dart2js/async_compiler_input_provider_test.dart |
diff --git a/tests/compiler/dart2js/async_compiler_input_provider_test.dart b/tests/compiler/dart2js/async_compiler_input_provider_test.dart |
index 9b8a8264039f30e7b5e712c6bd04b5118e08129c..d329e3aadd6af85e250d4dc8c4eb69357d57d9af 100644 |
--- a/tests/compiler/dart2js/async_compiler_input_provider_test.dart |
+++ b/tests/compiler/dart2js/async_compiler_input_provider_test.dart |
@@ -46,11 +46,10 @@ main() { |
Uri libraryRoot = script.resolve('../../../sdk/'); |
Uri packageRoot = script.resolve('./packages/'); |
- asyncStart(); |
- compiler.compile(entrypoint, libraryRoot, packageRoot, |
+ asyncTest(() => compiler.compile(entrypoint, libraryRoot, packageRoot, |
provideInput, handleDiagnostic, []).then((code) { |
Expect.isNotNull(code); |
- }).whenComplete(() => asyncEnd()); |
+ })); |
} |
void handleDiagnostic(Uri uri, int begin, int end, String message, |