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

Unified Diff: tests/isolate/isolate_current_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/isolate_current_test.dart
diff --git a/tests/isolate/isolate_current_test.dart b/tests/isolate/isolate_current_test.dart
index 671dca44fa6de2200a2e27a6fb3da4ca2f015e1e..e2e2d997386d1e0ee3f4e771a96f979a02b5eca4 100644
--- a/tests/isolate/isolate_current_test.dart
+++ b/tests/isolate/isolate_current_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
library isolate_current_test;
+
import "dart:isolate";
import "dart:async";
import "package:expect/expect.dart";
@@ -118,12 +119,11 @@ void expectCurrent(args) {
}
/** Convert isolate to list (of control port and capabilities). */
-i2l(Isolate isolate) => [isolate.controlPort,
- isolate.pauseCapability,
- isolate.terminateCapability];
+i2l(Isolate isolate) =>
+ [isolate.controlPort, isolate.pauseCapability, isolate.terminateCapability];
/** Convert list to isolate. */
-l2i(List list) => new Isolate(list[0], pauseCapability: list[1],
- terminateCapability: list[2]);
+l2i(List list) => new Isolate(list[0],
+ pauseCapability: list[1], terminateCapability: list[2]);
/** Identity transformation. */
id(Isolate isolate) => isolate;

Powered by Google App Engine
This is Rietveld 408576698