Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1942)

Unified Diff: tests/isolate/error_exit_at_spawn_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698