| Index: tests/standalone/io/file_system_async_links_test.dart
|
| diff --git a/tests/standalone/io/file_system_async_links_test.dart b/tests/standalone/io/file_system_async_links_test.dart
|
| index 25f07a99c5b467b13b0958aa3ddd45b9682e063b..f958bfadbd061f5ce38c49179a7f7d5b92b5da63 100644
|
| --- a/tests/standalone/io/file_system_async_links_test.dart
|
| +++ b/tests/standalone/io/file_system_async_links_test.dart
|
| @@ -3,10 +3,10 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "dart:async";
|
| -import "package:expect/expect.dart";
|
| import "dart:io";
|
| -import "dart:isolate";
|
|
|
| +import "package:async_helper/async_helper.dart";
|
| +import "package:expect/expect.dart";
|
|
|
| class FutureExpect {
|
| static Future isTrue(Future<bool> result) =>
|
| @@ -224,7 +224,7 @@ Future testDirectoryListingBrokenLink() {
|
| main() {
|
| // Links on Windows are tested by windows_file_system_[async_]links_test.
|
| if (Platform.operatingSystem != 'windows') {
|
| - ReceivePort keepAlive = new ReceivePort();
|
| + asyncStart();
|
| testFileExistsCreate()
|
| .then((_) => testFileDelete())
|
| .then((_) => testFileWriteRead())
|
| @@ -232,6 +232,6 @@ main() {
|
| .then((_) => testDirectoryDelete())
|
| .then((_) => testDirectoryListing())
|
| .then((_) => testDirectoryListingBrokenLink())
|
| - .then((_) => keepAlive.close());
|
| + .then((_) => asyncEnd());
|
| }
|
| }
|
|
|