| Index: pkg/testing/lib/src/zone_helper.dart
|
| diff --git a/pkg/testing/lib/src/zone_helper.dart b/pkg/testing/lib/src/zone_helper.dart
|
| index e679e63b1f53f171a694e400cb874d128989a595..5359c2ef4fca899205fd1a3fd14e1f4856c983ad 100644
|
| --- a/pkg/testing/lib/src/zone_helper.dart
|
| +++ b/pkg/testing/lib/src/zone_helper.dart
|
| @@ -48,7 +48,8 @@ Future runGuarded(Future f(),
|
| ZoneSpecification specification = new ZoneSpecification(print: printWrapper);
|
|
|
| ReceivePort errorPort = new ReceivePort();
|
| - Future errorFuture = errorPort.listen((List errors) {
|
| + Future errorFuture = errorPort.listen((_errors) {
|
| + List errors = _errors;
|
| Isolate.current.removeErrorListener(errorPort.sendPort);
|
| errorPort.close();
|
| var error = errors[0];
|
|
|