Index: tests/utils/dummy_compiler_test.dart |
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart |
index 5c7c1dae6b6cf346039935d9de223d764c6d0ff1..be633462bb6a111be9178edecd901d9fdfb3334d 100644 |
--- a/tests/utils/dummy_compiler_test.dart |
+++ b/tests/utils/dummy_compiler_test.dart |
@@ -8,6 +8,7 @@ |
library dummy_compiler; |
import 'dart:async'; |
+import "package:async_helper/async_helper.dart"; |
import '../../sdk/lib/_internal/compiler/compiler.dart'; |
@@ -102,6 +103,7 @@ void handler(Uri uri, int begin, int end, String message, Diagnostic kind) { |
} |
main() { |
+ asyncStart(); |
Future<String> result = |
compile(new Uri(scheme: 'main'), |
new Uri(scheme: 'lib', path: '/'), |
@@ -113,5 +115,5 @@ main() { |
} |
}, onError: (e) { |
throw 'Compilation failed'; |
- }); |
+ }).whenComplete(() => asyncEnd()); |
} |