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

Unified Diff: tests/isolate/error_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_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);
}

Powered by Google App Engine
This is Rietveld 408576698