| Index: tests/standalone/io/link_async_test.dart
|
| diff --git a/tests/standalone/io/link_async_test.dart b/tests/standalone/io/link_async_test.dart
|
| index d91074955cb77769337a4ad60819ea6d5adb24ad..d468a31133278f4f8c0a36c0fbcb4c9c1a6e15e4 100644
|
| --- a/tests/standalone/io/link_async_test.dart
|
| +++ b/tests/standalone/io/link_async_test.dart
|
| @@ -2,11 +2,12 @@
|
| // 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:expect/expect.dart";
|
| -import "package:path/path.dart";
|
| import "dart:async";
|
| import "dart:io";
|
| -import "dart:isolate";
|
| +
|
| +import "package:async_helper/async_helper.dart";
|
| +import "package:expect/expect.dart";
|
| +import "package:path/path.dart";
|
|
|
| // Test the dart:io Link class.
|
|
|
| @@ -271,9 +272,9 @@ Future testDirectoryListing(String base, Directory baseDir) {
|
| }
|
|
|
| main() {
|
| - ReceivePort keepAlive = new ReceivePort();
|
| + asyncStart();
|
| testCreate()
|
| .then((_) => testCreateLoopingLink())
|
| .then((_) => testRename())
|
| - .then((_) => keepAlive.close());
|
| + .then((_) => asyncEnd());
|
| }
|
|
|