Index: tests/isolate/error_at_spawn_test.dart |
diff --git a/tests/isolate/error_at_spawn_test.dart b/tests/isolate/error_at_spawn_test.dart |
index bd17b63402b814f447d4a17843fe60c7e37510f5..4f5b3736d9519f4cf704f03607ed046b60eb4636 100644 |
--- a/tests/isolate/error_at_spawn_test.dart |
+++ b/tests/isolate/error_at_spawn_test.dart |
@@ -13,7 +13,7 @@ isomain(args) { |
throw new ArgumentError("fast error"); |
} |
-main(){ |
+main() { |
asyncStart(); |
// Capture errors from other isolate as raw messages. |
@@ -25,10 +25,9 @@ main(){ |
errorPort.close(); |
asyncEnd(); |
}; |
- |
- Isolate.spawn(isomain, |
- null, |
- // Setup handler as part of spawn. |
- errorsAreFatal: false, |
- onError: errorPort.sendPort); |
+ |
+ Isolate.spawn(isomain, null, |
+ // Setup handler as part of spawn. |
+ errorsAreFatal: false, |
+ onError: errorPort.sendPort); |
} |