| Index: tests/isolate/nested_spawn2_test.dart
|
| diff --git a/tests/isolate/nested_spawn2_test.dart b/tests/isolate/nested_spawn2_test.dart
|
| index ea6331ec98a2bbb4c0e153ff3679c72bdc64d22b..fbeaeef7c4a50273c869ada40ddfaff6abce3300 100644
|
| --- a/tests/isolate/nested_spawn2_test.dart
|
| +++ b/tests/isolate/nested_spawn2_test.dart
|
| @@ -57,14 +57,14 @@ void main([args, port]) {
|
| test("spawned isolate can spawn other isolates", () {
|
| ReceivePort init = new ReceivePort();
|
| Isolate.spawn(isolateA, init.sendPort);
|
| - init.first.then(expectAsync1((port) {
|
| - _call(port, "launch nested!", expectAsync2((msg, replyTo) {
|
| + init.first.then(expectAsync((port) {
|
| + _call(port, "launch nested!", expectAsync((msg, replyTo) {
|
| expect(msg[0], "0");
|
| - _call(replyTo, msg1, expectAsync2((msg, replyTo) {
|
| + _call(replyTo, msg1, expectAsync((msg, replyTo) {
|
| expect(msg[0], "2");
|
| - _call(replyTo, msg3, expectAsync2((msg, replyTo) {
|
| + _call(replyTo, msg3, expectAsync((msg, replyTo) {
|
| expect(msg[0], "4");
|
| - _call(replyTo, msg5, expectAsync2((msg, _) {
|
| + _call(replyTo, msg5, expectAsync((msg, _) {
|
| expect(msg[0], "6");
|
| }));
|
| }));
|
|
|