| Index: tests/compiler/dart2js/find_my_name_test.dart
|
| diff --git a/tests/compiler/dart2js/find_my_name_test.dart b/tests/compiler/dart2js/find_my_name_test.dart
|
| index 4de23cacc4aa31f65af6982cd823ac173804f8bc..fff1b7d93880beb22c02922d517ee675ac692a1a 100644
|
| --- a/tests/compiler/dart2js/find_my_name_test.dart
|
| +++ b/tests/compiler/dart2js/find_my_name_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "package:expect/expect.dart";
|
| +import "package:async_helper/async_helper.dart";
|
| import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dart";
|
| import "mock_compiler.dart";
|
| import "parser_helper.dart";
|
| @@ -25,9 +26,10 @@ class Bar {
|
| ''';
|
|
|
| main() {
|
| - MockCompiler compiler = new MockCompiler();
|
| - testClass(TEST_0, compiler);
|
| - testClass(TEST_1, compiler);
|
| + asyncTest(() => MockCompiler.create((MockCompiler compiler) {
|
| + testClass(TEST_0, compiler);
|
| + testClass(TEST_1, compiler);
|
| + }));
|
| }
|
|
|
| testClass(String code, MockCompiler compiler) {
|
|
|