| Index: tests/compiler/dart2js/mirror_tree_shaking_test.dart
|
| diff --git a/tests/compiler/dart2js/mirror_tree_shaking_test.dart b/tests/compiler/dart2js/mirror_tree_shaking_test.dart
|
| index c3c639374ef3a83256afcb8cc4db034ce996f0c2..39dd5a8dfc1454a6d7f4fcb7633b0dac076f474c 100644
|
| --- a/tests/compiler/dart2js/mirror_tree_shaking_test.dart
|
| +++ b/tests/compiler/dart2js/mirror_tree_shaking_test.dart
|
| @@ -42,12 +42,13 @@ main() {
|
| libraryRoot,
|
| packageRoot,
|
| []);
|
| - compiler.run(Uri.parse('memory:main.dart'));
|
| - Expect.isFalse(compiler.compilationFailed);
|
| - Expect.isFalse(compiler.enqueuer.resolution.hasEnqueuedEverything);
|
| - Expect.isFalse(compiler.enqueuer.codegen.hasEnqueuedEverything);
|
| - Expect.isFalse(compiler.disableTypeInference);
|
| - Expect.isFalse(compiler.backend.hasRetainedMetadata);
|
| + compiler.run(Uri.parse('memory:main.dart')).then((_) {
|
| + Expect.isFalse(compiler.compilationFailed);
|
| + Expect.isFalse(compiler.enqueuer.resolution.hasEnqueuedEverything);
|
| + Expect.isFalse(compiler.enqueuer.codegen.hasEnqueuedEverything);
|
| + Expect.isFalse(compiler.disableTypeInference);
|
| + Expect.isFalse(compiler.backend.hasRetainedMetadata);
|
| + });
|
| }
|
|
|
| const Map MEMORY_SOURCE_FILES = const {
|
|
|