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

Unified Diff: tests/utils/dummy_compiler_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/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index ad2750e65099f55ab851d1f74231f0b856aa618a..4c0a4aa9d1d8c268d9a48098f250ae5c8dcbb49c 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -116,5 +116,5 @@ main() {
}
}, onError: (e) {
throw 'Compilation failed';
- }).whenComplete(() => asyncEnd());
+ }).then(asyncSuccess);
}

Powered by Google App Engine
This is Rietveld 408576698