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

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

Issue 23450011: Fix run_zoned6 and run_zoned9 test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 7 years, 4 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
« no previous file with comments | « no previous file | tests/lib/async/run_zoned9_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/run_zoned6_test.dart
diff --git a/tests/lib/async/run_zoned6_test.dart b/tests/lib/async/run_zoned6_test.dart
index 45507330e9261b81826898ebd841c67f9e675853..9ede7a735fd7984a46ce4d2e1612daad3065a898 100644
--- a/tests/lib/async/run_zoned6_test.dart
+++ b/tests/lib/async/run_zoned6_test.dart
@@ -14,12 +14,13 @@ main() {
runZonedExperimental(() { throw 0; },
onError: (e) {
Expect.equals(0, e);
- asyncEnd();
+ if (false) /// 01: runtime error
+ asyncEnd();
throw e; /// 01: runtime error
});
} catch (e) {
// We should never see an error here.
- if (true) /// 01: continued
+ if (false) /// 01: continued
rethrow;
}
}
« no previous file with comments | « no previous file | tests/lib/async/run_zoned9_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698