| Index: tests/standalone/io/delete_symlink_test.dart
|
| diff --git a/tests/standalone/io/delete_symlink_test.dart b/tests/standalone/io/delete_symlink_test.dart
|
| index ad10a48ffd3bfa4d8222ce5d4df4f7356f71d999..b5ca0b5d4bf14d8ded4faf299ceb8f663174a327 100644
|
| --- a/tests/standalone/io/delete_symlink_test.dart
|
| +++ b/tests/standalone/io/delete_symlink_test.dart
|
| @@ -2,9 +2,10 @@
|
| // 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 'dart:io';
|
| -import 'dart:isolate';
|
| +
|
| +import "package:async_helper/async_helper.dart";
|
| +import "package:expect/expect.dart";
|
|
|
| void main() {
|
| // temp/
|
| @@ -33,7 +34,7 @@ void main() {
|
| args = ["/c", "mklink", "/j", "${d.path}\\b\\a_link", "${d.path}\\a"];
|
| }
|
|
|
| - var keepAlive = new ReceivePort();
|
| + asyncStart();
|
|
|
| Process.run(cmd, args).then((_) {
|
| // Delete the directory containing the junction.
|
| @@ -46,6 +47,6 @@ void main() {
|
| d.deleteSync(recursive: true);
|
|
|
| // Terminate now that we are done with everything.
|
| - keepAlive.close();
|
| + asyncEnd();
|
| });
|
| }
|
|
|