Index: tests/isolate/cross_isolate_message_test.dart |
diff --git a/tests/isolate/cross_isolate_message_test.dart b/tests/isolate/cross_isolate_message_test.dart |
index 56181c82d86acd0cd31ece073e70e0b109d2c130..a68dedbd2cf5f167572bf7fcdf6247018f7bab7e 100644 |
--- a/tests/isolate/cross_isolate_message_test.dart |
+++ b/tests/isolate/cross_isolate_message_test.dart |
@@ -40,7 +40,7 @@ void main([args, port]) { |
test("send message cross isolates ", () { |
ReceivePort fromIsolate1 = new ReceivePort(); |
Isolate.spawn(crossIsolate1, fromIsolate1.sendPort); |
- var done = expectAsync0((){}); |
+ var done = expectAsync((){}); |
fromIsolate1.listen((msg) { |
switch (msg[0]) { |
case "ready1": |