| Index: tests/lib/async/run_zoned9_test.dart
|
| diff --git a/tests/lib/async/run_zoned9_test.dart b/tests/lib/async/run_zoned9_test.dart
|
| index 5ba8de2d6fb0b6c66c4241146e4f693b64f31f6c..ab0f5ab17c0712fb6400aff5062e0cf7b653518d 100644
|
| --- a/tests/lib/async/run_zoned9_test.dart
|
| +++ b/tests/lib/async/run_zoned9_test.dart
|
| @@ -22,12 +22,14 @@ main() {
|
| }, onError: (e) {
|
| Expect.equals(0, e);
|
| Expect.isTrue(sawInnerHandler);
|
| - asyncEnd();
|
| + // If we are waiting for an error, don't asyncEnd, but let it time out.
|
| + 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;
|
| }
|
| }
|
|
|