| Index: tests/compiler/dart2js/licm_test.dart
|
| diff --git a/tests/compiler/dart2js/licm_test.dart b/tests/compiler/dart2js/licm_test.dart
|
| index 3e1a98ad39094060c8d47267e76cd65e50ec1ec2..438d1743bfeb725b23ed718fa41ae55aefb9e151 100644
|
| --- a/tests/compiler/dart2js/licm_test.dart
|
| +++ b/tests/compiler/dart2js/licm_test.dart
|
| @@ -5,8 +5,7 @@
|
| // Check that we hoist instructions in a loop condition, even if that
|
| // condition involves control flow.
|
|
|
| -import 'package:expect/expect.dart';
|
| -
|
| +import 'package:async_helper/async_helper.dart';
|
| import 'compiler_helper.dart';
|
|
|
| const String TEST = '''
|
| @@ -25,6 +24,6 @@ main() {
|
| ''';
|
|
|
| main() {
|
| - compileAndMatch(TEST, 'main',
|
| - new RegExp('if \\(typeof count !== "number"\\)(.|\\n)*while'));
|
| + asyncTest(() => compileAndMatch(TEST, 'main',
|
| + new RegExp('if \\(typeof count !== "number"\\)(.|\\n)*while')));
|
| }
|
|
|