| Index: tests/standalone/io/file_fuzz_test.dart
|
| diff --git a/tests/standalone/io/file_fuzz_test.dart b/tests/standalone/io/file_fuzz_test.dart
|
| index f90030ed0ecf4f6a359797f7e2d9a61c30eb4b11..b34797bc9e02589a03bb700b7cf45ba942a764f7 100644
|
| --- a/tests/standalone/io/file_fuzz_test.dart
|
| +++ b/tests/standalone/io/file_fuzz_test.dart
|
| @@ -7,10 +7,11 @@
|
|
|
| import 'dart:async';
|
| import 'dart:io';
|
| -import 'dart:isolate';
|
|
|
| import 'fuzz_support.dart';
|
|
|
| +import "package:async_helper/async_helper.dart";
|
| +
|
| fuzzSyncMethods() {
|
| typeMapping.forEach((k, v) {
|
| doItSync(() {
|
| @@ -36,7 +37,7 @@ fuzzSyncMethods() {
|
| }
|
|
|
| fuzzAsyncMethods() {
|
| - var port = new ReceivePort();
|
| + asyncStart();
|
| var futures = [];
|
| typeMapping.forEach((k, v) {
|
| doItSync(() {
|
| @@ -58,7 +59,7 @@ fuzzAsyncMethods() {
|
| });
|
| });
|
| });
|
| - Future.wait(futures).then((ignore) => port.close());
|
| + Future.wait(futures).then((_) => asyncEnd());
|
| }
|
|
|
|
|
|
|