| 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 9ede7a735fd7984a46ce4d2e1612daad3065a898..34efae57eb74761bcc56361c1cb65bae6e01ae0f 100644
|
| --- a/tests/lib/async/run_zoned6_test.dart
|
| +++ b/tests/lib/async/run_zoned6_test.dart
|
| @@ -11,13 +11,13 @@ main() {
|
| // Ensure that `runZoned`'s onError handles synchronous errors but delegates
|
| // to the top-level when the handler returns false.
|
| try {
|
| - runZonedExperimental(() { throw 0; },
|
| - onError: (e) {
|
| - Expect.equals(0, e);
|
| - if (false) /// 01: runtime error
|
| - asyncEnd();
|
| - throw e; /// 01: runtime error
|
| - });
|
| + runZoned(() { throw 0; },
|
| + onError: (e) {
|
| + Expect.equals(0, e);
|
| + if (false) /// 01: runtime error
|
| + asyncEnd();
|
| + throw e; /// 01: runtime error
|
| + });
|
| } catch (e) {
|
| // We should never see an error here.
|
| if (false) /// 01: continued
|
|
|