| Index: tests/isolate/spawn_function_test.dart
|
| diff --git a/tests/isolate/spawn_function_test.dart b/tests/isolate/spawn_function_test.dart
|
| index 704bdb55dff91c082eccc912b75ccec75300ab2f..ae47227a21304269658d5a62880369ff9e3d61f8 100644
|
| --- a/tests/isolate/spawn_function_test.dart
|
| +++ b/tests/isolate/spawn_function_test.dart
|
| @@ -14,10 +14,10 @@ child() {
|
| main() {
|
| test('message - reply chain', () {
|
| ReceivePort port = new ReceivePort();
|
| - port.receive(expectAsync(msg, _) {
|
| + port.receive(expectAsync2((msg, _) {
|
| port.close();
|
| expect(msg, equals('re: hi'));
|
| - });
|
| + }));
|
|
|
| SendPort s = spawnFunction(child);
|
| s.send('hi', port.toSendPort());
|
|
|