Index: tests/isolate/issue_21398_child_isolate11.dart |
diff --git a/tests/isolate/issue_21398_child_isolate11.dart b/tests/isolate/issue_21398_child_isolate11.dart |
index f1224ddbfe1c5e545383180b739ab8e52a22a848..fd19d60e53e4b46d843798566991ee2021c1f3c0 100644 |
--- a/tests/isolate/issue_21398_child_isolate11.dart |
+++ b/tests/isolate/issue_21398_child_isolate11.dart |
@@ -13,16 +13,13 @@ main(List<String> args, message) { |
var receivePort = new ReceivePort(); |
var sendPort = message; |
sendPort.send(receivePort.sendPort); |
- receivePort.listen( |
- (msg) { |
- Expect.isTrue(msg is SendPort); |
- try { |
- msg.send(new FromChildIsolate()); |
- } catch(error) { |
- Expect.isTrue(error is ArgumentError); |
- msg.send("Invalid Argument(s)."); |
- } |
- }, |
- onError: (e) => print('$e') |
- ); |
+ receivePort.listen((msg) { |
+ Expect.isTrue(msg is SendPort); |
+ try { |
+ msg.send(new FromChildIsolate()); |
+ } catch (error) { |
+ Expect.isTrue(error is ArgumentError); |
+ msg.send("Invalid Argument(s)."); |
+ } |
+ }, onError: (e) => print('$e')); |
} |