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

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

Issue 23875032: Expose Zones. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase 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
« no previous file with comments | « tests/lib/async/run_zoned4_test.dart ('k') | tests/lib/async/run_zoned6_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/run_zoned5_test.dart
diff --git a/tests/lib/async/run_zoned5_test.dart b/tests/lib/async/run_zoned5_test.dart
index 6106a06295ea2686f8f4dc4c3cccc0b43c68befd..6a18d5cff2e401b6eba1ee44b5b428b84ca8fae2 100644
--- a/tests/lib/async/run_zoned5_test.dart
+++ b/tests/lib/async/run_zoned5_test.dart
@@ -9,9 +9,9 @@ import 'dart:async';
main() {
asyncStart();
// Ensure that `runZoned`'s onError handles synchronous errors.
- runZonedExperimental(() { throw 0; },
- onError: (e) {
- Expect.equals(0, e);
- asyncEnd();
- });
+ runZoned(() { throw 0; },
+ onError: (e) {
+ Expect.equals(0, e);
+ asyncEnd();
+ });
}
« no previous file with comments | « tests/lib/async/run_zoned4_test.dart ('k') | tests/lib/async/run_zoned6_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698