Index: tests/isolate/spawn_function_test.dart |
diff --git a/tests/isolate/spawn_function_test.dart b/tests/isolate/spawn_function_test.dart |
index 54cfb5a75a49b4a8d99ec3f3e9d8a5ca7ee08aa0..307c04ee8a6c1b3667ec0bfa0e0775615bd57a9e 100644 |
--- a/tests/isolate/spawn_function_test.dart |
+++ b/tests/isolate/spawn_function_test.dart |
@@ -19,7 +19,7 @@ void main([args, port]) { |
test('message - reply chain', () { |
ReceivePort port = new ReceivePort(); |
Isolate.spawn(child, ['hi', port.sendPort]); |
- port.listen(expectAsync1((msg) { |
+ port.listen(expectAsync((msg) { |
port.close(); |
expect(msg, equals('re: hi')); |
})); |