Index: tests/isolate/browser/typed_data_message_test.dart |
diff --git a/tests/isolate/browser/typed_data_message_test.dart b/tests/isolate/browser/typed_data_message_test.dart |
index 61954b952f2ef55272e0420732305a1b6277f995..d23c7ffd69dab8b82bea682f005a8bffd2a04b65 100644 |
--- a/tests/isolate/browser/typed_data_message_test.dart |
+++ b/tests/isolate/browser/typed_data_message_test.dart |
@@ -98,13 +98,13 @@ void main([args, port]) { |
for (int i = 0; i < elements.length; i++) { |
var sentObject = elements[i]; |
var idx = i; |
- sendReceive(remote, sentObject).then(expectAsync1((var receivedObject) { |
+ sendReceive(remote, sentObject).then(expectAsync((var receivedObject) { |
VerifyObject(idx, receivedObject); |
})); |
} |
// Shutdown the MessageServer. |
- sendReceive(remote, -1).then(expectAsync1((int message) { |
+ sendReceive(remote, -1).then(expectAsync((int message) { |
expect(message, elements.length); |
})); |
}); |