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

Unified Diff: tests/lib/async/run_async6_test.dart

Issue 16958006: Added async_helper and fixed broken asynchronous test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« tests/async_helper.dart ('K') | « tests/isolate/isolate2_negative_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/run_async6_test.dart
diff --git a/tests/lib/async/run_async6_test.dart b/tests/lib/async/run_async6_test.dart
index e89bc038568eeef213a44eba8f5b71ba1aa17420..1cd08f9f7deee4b8501f0048f809e78440872910 100644
--- a/tests/lib/async/run_async6_test.dart
+++ b/tests/lib/async/run_async6_test.dart
@@ -11,12 +11,9 @@ bool _unhandledExceptionCallback(exception) => true;
main() {
test('run async test', () {
- var callback = expectAsync0(() {});
- runAsync(() {
- runAsync(() {
- callback();
- });
+ runAsync(expectAsync0({
+ runAsync(expectAsync0(() {}));
floitsch 2013/06/20 14:59:35 why is this change needed?
kustermann 2013/06/25 07:14:21 You're right, this should not be necessary.
throw new Exception('exception');
- });
+ }));
});
}
« tests/async_helper.dart ('K') | « tests/isolate/isolate2_negative_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698