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

Unified Diff: tests/isolate/isolate_complex_messages_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_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();

Powered by Google App Engine
This is Rietveld 408576698