| Index: tests/isolate/raw_port_test.dart
|
| diff --git a/tests/isolate/raw_port_test.dart b/tests/isolate/raw_port_test.dart
|
| index 1b88949db797fb26891d5dd60a413bd85f57c620..5b946cb4f471fea42793a8cb9fc5c15304fea1e4 100644
|
| --- a/tests/isolate/raw_port_test.dart
|
| +++ b/tests/isolate/raw_port_test.dart
|
| @@ -5,11 +5,11 @@
|
| // Test RawReceivePort.
|
|
|
| library raw_port_test;
|
| +
|
| import 'dart:isolate';
|
| import 'package:unittest/unittest.dart';
|
| import 'remote_unittest_helper.dart';
|
|
|
| -
|
| void remote(SendPort port) {
|
| port.send("reply");
|
| }
|
| @@ -58,12 +58,13 @@ main([args, port]) {
|
| Isolate.spawn(remote, rawPort.sendPort);
|
| Isolate.spawn(remote, port.sendPort);
|
| int ctr = 2;
|
| - port.listen(expectAsync((v) {
|
| - expect(v, "reply");
|
| - ctr--;
|
| - if (ctr == 0) port.close();
|
| - }, count: 2),
|
| - onDone: expectAsync((){}));
|
| + port.listen(
|
| + expectAsync((v) {
|
| + expect(v, "reply");
|
| + ctr--;
|
| + if (ctr == 0) port.close();
|
| + }, count: 2),
|
| + onDone: expectAsync(() {}));
|
| });
|
| });
|
| }
|
|
|