Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: tests/compiler/dart2js/mirrors_test.dart

Issue 23512008: Call asyncEnd only on success. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698