Index: tests/isolate/request_reply_test.dart |
diff --git a/tests/isolate/request_reply_test.dart b/tests/isolate/request_reply_test.dart |
index 713f7bb97376c7498c03f58a05226b38470b0d1e..caeba645af48449750c2c29a2f2893320da4f353 100644 |
--- a/tests/isolate/request_reply_test.dart |
+++ b/tests/isolate/request_reply_test.dart |
@@ -24,10 +24,10 @@ void main([args, port]) { |
test("send", () { |
ReceivePort init = new ReceivePort(); |
Isolate.spawn(entry, init.sendPort); |
- init.first.then(expectAsync1((port) { |
+ init.first.then(expectAsync((port) { |
ReceivePort reply = new ReceivePort(); |
port.send([99, reply.sendPort]); |
- reply.listen(expectAsync1((message) { |
+ reply.listen(expectAsync((message) { |
expect(message, 99 + 87); |
reply.close(); |
})); |