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

Unified Diff: tests/isolate/kill_self_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/kill_self_test.dart
diff --git a/tests/isolate/kill_self_test.dart b/tests/isolate/kill_self_test.dart
index cf2a81d4bae8afc918ec7d55029ef743b2462dd2..93cf0f608d765951cdb11e103851d676b3ffa546 100644
--- a/tests/isolate/kill_self_test.dart
+++ b/tests/isolate/kill_self_test.dart
@@ -17,8 +17,7 @@ isomain1(replyPort) {
var controlPort = v[0];
var killCapability = v[1];
firstEvent = false;
- var isolate = new Isolate(controlPort,
- terminateCapability: killCapability);
+ var isolate = new Isolate(controlPort, terminateCapability: killCapability);
isolate.kill(priority: Isolate.IMMEDIATE);
};
replyPort.send(port.sendPort);
@@ -26,7 +25,7 @@ isomain1(replyPort) {
void main() {
asyncStart();
- var completer = new Completer(); // Completed by first reply from isolate.
+ var completer = new Completer(); // Completed by first reply from isolate.
RawReceivePort reply = new RawReceivePort(completer.complete);
Isolate.spawn(isomain1, reply.sendPort).then((Isolate isolate) {
completer.future.then((isolatePort) {

Powered by Google App Engine
This is Rietveld 408576698