Index: tests/compiler/dart2js/mirrors_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart |
index 7051a3b8f78933b8333b4dd008426fb3cabfc09a..0d6119b5cd345ed8d66379ad5dbac7be62962d73 100644 |
--- a/tests/compiler/dart2js/mirrors_test.dart |
+++ b/tests/compiler/dart2js/mirrors_test.dart |
@@ -55,7 +55,7 @@ main() { |
<String>['--preserve-comments']); |
result.then((MirrorSystem mirrors) { |
test(mirrors); |
- }).whenComplete(() => asyncEnd()); |
+ }).then(asyncSuccess); |
} |
void test(MirrorSystem mirrors) { |