Index: tests/isolate/exit_at_spawn_test.dart |
diff --git a/tests/isolate/exit_at_spawn_test.dart b/tests/isolate/exit_at_spawn_test.dart |
index 355c449607ed720188e22978c42c07fa9f29ba95..c2db8cbacc348d30b045946cb4c0c3d981fd3910 100644 |
--- a/tests/isolate/exit_at_spawn_test.dart |
+++ b/tests/isolate/exit_at_spawn_test.dart |
@@ -14,15 +14,15 @@ isomain(args) {} |
// Isolate exiting after running microtasks. |
isomain2(args) { |
- scheduleMicrotask((){}); |
+ scheduleMicrotask(() {}); |
} |
// Isolate exiting after running timers. |
isomain3(args) { |
- new Timer(Duration.ZERO, (){}); |
+ new Timer(Duration.ZERO, () {}); |
} |
-main(){ |
+main() { |
asyncStart(); |
test(isomain); |
@@ -42,9 +42,8 @@ void test(mainFunction) { |
asyncEnd(); |
}; |
- Isolate.spawn(mainFunction, |
- null, |
- // Setup handler as part of spawn. |
- errorsAreFatal: false, |
- onExit: exitPort.sendPort); |
+ Isolate.spawn(mainFunction, null, |
+ // Setup handler as part of spawn. |
+ errorsAreFatal: false, |
+ onExit: exitPort.sendPort); |
} |