| Index: tests/isolate/global_error_handler2_test.dart
|
| diff --git a/tests/isolate/global_error_handler2_test.dart b/tests/isolate/global_error_handler2_test.dart
|
| index c0b1241cc06017eb25d0bfdf4cef09c555be423c..d038f88c0761c7b2f899b6831ccc52bfce7a2000 100644
|
| --- a/tests/isolate/global_error_handler2_test.dart
|
| +++ b/tests/isolate/global_error_handler2_test.dart
|
| @@ -7,6 +7,7 @@ library test;
|
| import 'package:expect/expect.dart';
|
| import 'dart:async';
|
| import 'dart:isolate';
|
| +import '../async_helper.dart';
|
|
|
| runTest() {
|
| SendPort mainIsolate;
|
| @@ -34,9 +35,11 @@ main() {
|
| SendPort otherIsolate = spawnFunction(runTest, globalErrorHandler);
|
| otherIsolate.send(port.toSendPort());
|
| otherIsolate.send("message 2");
|
| + asyncStart();
|
| port.receive((msg, replyPort) {
|
| Expect.equals("received", msg);
|
| port.close();
|
| timer.cancel();
|
| + asyncEnd();
|
| });
|
| }
|
|
|