| Index: tests/isolate/message_test.dart
|
| diff --git a/tests/isolate/message_test.dart b/tests/isolate/message_test.dart
|
| index ead8cfe74d7950829db67306bf267f242ff1f2f6..d6877848627c9ccd8954260981cb74792928de93 100644
|
| --- a/tests/isolate/message_test.dart
|
| +++ b/tests/isolate/message_test.dart
|
| @@ -99,11 +99,11 @@ void main([args, port]) {
|
| test("send objects and receive them back", () {
|
| ReceivePort port = new ReceivePort();
|
| Isolate.spawn(pingPong, port.sendPort);
|
| - port.first.then(expectAsync1((remote) {
|
| + port.first.then(expectAsync((remote) {
|
| // Send objects and receive them back.
|
| for (int i = 0; i < MessageTest.elms.length; i++) {
|
| var sentObject = MessageTest.elms[i];
|
| - remoteCall(remote, sentObject).then(expectAsync1((var receivedObject) {
|
| + remoteCall(remote, sentObject).then(expectAsync((var receivedObject) {
|
| MessageTest.VerifyObject(i, receivedObject);
|
| }));
|
| }
|
| @@ -133,7 +133,7 @@ void main([args, port]) {
|
| });
|
|
|
| // Shutdown the MessageServer.
|
| - remoteCall(remote, -1).then(expectAsync1((int message) {
|
| + remoteCall(remote, -1).then(expectAsync((int message) {
|
| expect(message, MessageTest.elms.length + 1);
|
| }));
|
| }));
|
|
|