| Index: tests/lib/async/catch_errors20_test.dart
|
| diff --git a/tests/lib/async/catch_errors20_test.dart b/tests/lib/async/catch_errors20_test.dart
|
| index b0f0673b03b7646768028a9cd93fbee727b8e6a7..ffcf7c894012b0db5652e483264b18fc3ce2910f 100644
|
| --- a/tests/lib/async/catch_errors20_test.dart
|
| +++ b/tests/lib/async/catch_errors20_test.dart
|
| @@ -2,15 +2,13 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +import 'package:async_helper/async_helper.dart';
|
| import "package:expect/expect.dart";
|
| import 'dart:async';
|
| -import 'dart:isolate';
|
| import 'catch_errors.dart';
|
|
|
| main() {
|
| - // We keep a ReceivePort open until all tests are done. This way the VM will
|
| - // hang if the callbacks are not invoked and the test will time out.
|
| - var port = new ReceivePort();
|
| + asyncStart();
|
| var events = [];
|
| // Test that nested stream (from `catchErrors`) that is delayed by a future
|
| // is waited for.
|
| @@ -31,6 +29,6 @@ main() {
|
| "done",
|
| ],
|
| events);
|
| - port.close();
|
| + asyncEnd();
|
| });
|
| }
|
|
|