| Index: tests/compiler/dart2js/resolution_test.dart
|
| diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart
|
| index 32f59457a5f015ca4fa6efb6ce3e01460383c7ed..ac978580b016b1418d9e5fa1f6bc92443bd9b8bd 100644
|
| --- a/tests/compiler/dart2js/resolution_test.dart
|
| +++ b/tests/compiler/dart2js/resolution_test.dart
|
| @@ -6,6 +6,7 @@
|
| // needed by the backend.
|
|
|
| import 'package:expect/expect.dart';
|
| +import "package:async_helper/async_helper.dart";
|
| import 'compiler_helper.dart';
|
| import 'parser_helper.dart';
|
|
|
| @@ -94,8 +95,9 @@ main() {
|
| void test(String code, void check(Compiler compiler)) {
|
| Uri uri = new Uri(scheme: 'source');
|
| var compiler = compilerFor(code, uri);
|
| - compiler.runCompiler(uri);
|
| - check(compiler);
|
| + asyncTest(() => compiler.runCompiler(uri).then((_) {
|
| + check(compiler);
|
| + }));
|
| }
|
|
|
| void testHasRuntimeType(String code) {
|
|
|