| Index: tests/isolate/error_exit_at_spawn_test.dart
|
| diff --git a/tests/isolate/error_exit_at_spawn_test.dart b/tests/isolate/error_exit_at_spawn_test.dart
|
| index d26dfd2644457dadf7cc398d8e56df007916e006..c2d79fb1470cf1c356f3d120b79d04713cf525bd 100644
|
| --- a/tests/isolate/error_exit_at_spawn_test.dart
|
| +++ b/tests/isolate/error_exit_at_spawn_test.dart
|
| @@ -27,7 +27,7 @@ isomain(replyPort) {
|
| replyPort.send(port.sendPort);
|
| }
|
|
|
| -main(){
|
| +main() {
|
| asyncStart();
|
| // Setup the port for communication with the newly spawned isolate.
|
| RawReceivePort reply = new RawReceivePort(null);
|
| @@ -66,7 +66,7 @@ main(){
|
| throw "Bad state for error: $state: $error";
|
| }
|
| };
|
| -
|
| +
|
| // Get exit notifications from other isolate as raw messages.
|
| RawReceivePort exitPort = new RawReceivePort();
|
| exitPort.handler = (message) {
|
| @@ -78,11 +78,10 @@ main(){
|
| exitPort.close();
|
| asyncEnd();
|
| };
|
| -
|
| - Isolate.spawn(isomain,
|
| - reply.sendPort,
|
| - // Setup handlers as part of spawn.
|
| - errorsAreFatal: false,
|
| - onError: errorPort.sendPort,
|
| - onExit: exitPort.sendPort);
|
| +
|
| + Isolate.spawn(isomain, reply.sendPort,
|
| + // Setup handlers as part of spawn.
|
| + errorsAreFatal: false,
|
| + onError: errorPort.sendPort,
|
| + onExit: exitPort.sendPort);
|
| }
|
|
|