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 92c26d9bd71f30c1a4197f07ad55c5fb76ef0450..eda4e9081037e2440805fcfba428e8592aa1e54a 100644 |
--- a/tests/isolate/isolate_complex_messages_test.dart |
+++ b/tests/isolate/isolate_complex_messages_test.dart |
@@ -15,8 +15,8 @@ void main([args, port]) { |
test("complex messages are serialized correctly", () { |
ReceivePort local = new ReceivePort(); |
Isolate.spawn(logMessages, local.sendPort); |
- var done = expectAsync0((){}); |
- local.listen(expectAsync1((msg) { |
+ var done = expectAsync((){}); |
+ local.listen(expectAsync((msg) { |
switch (msg[0]) { |
case "init": |
var remote = msg[1]; |