| Index: tests/lib/async/catch_errors25_test.dart
|
| diff --git a/tests/lib/async/catch_errors25_test.dart b/tests/lib/async/catch_errors25_test.dart
|
| index 162a4a358dfef476b658812737bd282c8a585cc0..2360e9ad8bf460a6ef3e2e9bb99676759a719861 100644
|
| --- a/tests/lib/async/catch_errors25_test.dart
|
| +++ b/tests/lib/async/catch_errors25_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 = [];
|
| StreamController controller;
|
| // Test multiple subscribers of an asBroadcastStream inside the same
|
| @@ -22,6 +20,6 @@ main() {
|
| }).listen((x) { events.add("outer: $x"); },
|
| onDone: () {
|
| Expect.listEquals([1, 1, 2, 2], events);
|
| - port.close();
|
| + asyncEnd();
|
| });
|
| }
|
|
|