Index: tests/isolate/isolate_complex_messages_test.dart |
diff --git a/tests/isolate/isolate_complex_messages_test.dart b/tests/isolate/isolate_complex_messages_test.dart |
index eda4e9081037e2440805fcfba428e8592aa1e54a..0a4155f6f822117d840f108b628ff39694145208 100644 |
--- a/tests/isolate/isolate_complex_messages_test.dart |
+++ b/tests/isolate/isolate_complex_messages_test.dart |
@@ -6,6 +6,7 @@ |
// complex messages. |
library IsolateComplexMessagesTest; |
+ |
import 'dart:isolate'; |
import 'package:unittest/unittest.dart'; |
import "remote_unittest_helper.dart"; |
@@ -15,7 +16,7 @@ void main([args, port]) { |
test("complex messages are serialized correctly", () { |
ReceivePort local = new ReceivePort(); |
Isolate.spawn(logMessages, local.sendPort); |
- var done = expectAsync((){}); |
+ var done = expectAsync(() {}); |
local.listen(expectAsync((msg) { |
switch (msg[0]) { |
case "init": |
@@ -38,7 +39,6 @@ void main([args, port]) { |
}); |
} |
- |
void logMessages(mainPort) { |
int count = 0; |
ReceivePort port = new ReceivePort(); |