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

Unified Diff: tests/isolate/error_exit_at_spawnuri_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_spawnuri_test.dart
diff --git a/tests/isolate/error_exit_at_spawnuri_test.dart b/tests/isolate/error_exit_at_spawnuri_test.dart
index 27446e0f79e380447a776a87fcb52fe7e8164fce..b5bc362d94a65294cdbab64976a969ee96446a45 100644
--- a/tests/isolate/error_exit_at_spawnuri_test.dart
+++ b/tests/isolate/error_exit_at_spawnuri_test.dart
@@ -11,7 +11,7 @@ import "dart:async";
import "package:async_helper/async_helper.dart";
import "package:expect/expect.dart";
-main(){
+main() {
asyncStart();
// Setup the port for communication with the newly spawned isolate.
RawReceivePort reply = new RawReceivePort(null);
@@ -50,7 +50,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) {
@@ -62,11 +62,11 @@ main(){
exitPort.close();
asyncEnd();
};
-
- Isolate.spawnUri(Uri.parse("error_exit_at_spawnuri_iso.dart"), [],
- reply.sendPort,
- // Setup handlers as part of spawn.
- errorsAreFatal: false,
- onError: errorPort.sendPort,
- onExit: exitPort.sendPort);
+
+ Isolate.spawnUri(
+ Uri.parse("error_exit_at_spawnuri_iso.dart"), [], 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