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

Unified Diff: tests/isolate/start_paused_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/start_paused_test.dart
diff --git a/tests/isolate/start_paused_test.dart b/tests/isolate/start_paused_test.dart
index 7bcaba54558506306469840aa03e8ab95b95f8b4..843e7b1de7e201f3220f31f02f8b2e878feb4341 100644
--- a/tests/isolate/start_paused_test.dart
+++ b/tests/isolate/start_paused_test.dart
@@ -34,8 +34,7 @@ void test1() {
// isolate sends a message.
asyncStart();
RawReceivePort p1 = new RawReceivePort(notyet);
- Isolate.spawn(isomain, p1.sendPort, paused: true)
- .then((isolate) {
+ Isolate.spawn(isomain, p1.sendPort, paused: true).then((isolate) {
RawReceivePort p2;
p2 = new RawReceivePort((x) {
Expect.equals("DONE", x);
@@ -59,8 +58,7 @@ void test2() {
// a message before the second pause is resumed as well.
asyncStart();
RawReceivePort p1 = new RawReceivePort(notyet);
- Isolate.spawn(isomain, p1.sendPort, paused: true)
- .then((isolate) {
+ Isolate.spawn(isomain, p1.sendPort, paused: true).then((isolate) {
RawReceivePort p2;
Capability c2 = new Capability();
// Switch to another pause capability.

Powered by Google App Engine
This is Rietveld 408576698