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/cross_isolate_message_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/cross_isolate_message_test.dart
diff --git a/tests/isolate/cross_isolate_message_test.dart b/tests/isolate/cross_isolate_message_test.dart
index a68dedbd2cf5f167572bf7fcdf6247018f7bab7e..683ecb30fa42fc74c6aa65c111137f969dc791cb 100644
--- a/tests/isolate/cross_isolate_message_test.dart
+++ b/tests/isolate/cross_isolate_message_test.dart
@@ -6,6 +6,7 @@
// other than the main isolate.
library CrossIsolateMessageTest;
+
import 'dart:isolate';
import 'package:unittest/unittest.dart';
import "remote_unittest_helper.dart";
@@ -27,7 +28,7 @@ void crossIsolate1(SendPort mainIsolate) {
local.first.then((msg) {
// Message from crossIsolate2
expect(msg[0], "fromIsolate2");
- mainIsolate.send(["fromIsolate1", msg[1] + 58]); // 100.
+ mainIsolate.send(["fromIsolate1", msg[1] + 58]); // 100.
});
}
@@ -40,7 +41,7 @@ void main([args, port]) {
test("send message cross isolates ", () {
ReceivePort fromIsolate1 = new ReceivePort();
Isolate.spawn(crossIsolate1, fromIsolate1.sendPort);
- var done = expectAsync((){});
+ var done = expectAsync(() {});
fromIsolate1.listen((msg) {
switch (msg[0]) {
case "ready1":

Powered by Google App Engine
This is Rietveld 408576698