| Index: tests/isolate/spawn_uri_nested_vm_test.dart
|
| diff --git a/tests/isolate/spawn_uri_nested_vm_test.dart b/tests/isolate/spawn_uri_nested_vm_test.dart
|
| index e48483edd3ab3f698a1b77a682b5d25ed96a7c10..e6669256df2e7da14f1c449761c45c21b9f44992 100644
|
| --- a/tests/isolate/spawn_uri_nested_vm_test.dart
|
| +++ b/tests/isolate/spawn_uri_nested_vm_test.dart
|
| @@ -12,8 +12,9 @@ import '../../pkg/unittest/lib/unittest.dart';
|
|
|
| main() {
|
| test('isolate fromUri - nested send and reply', () {
|
| - var port = spawnUri('spawn_uri_nested_child1_vm_isolate.dart');
|
| -
|
| - port.call([1, 2]).then((result) => print(result));
|
| + ReceivePort port = new ReceivePort();
|
| + Isolate.spawnUri(Uri.parse('spawn_uri_nested_child1_vm_isolate.dart'),
|
| + [[1, 2], port.sendPort]);
|
| + port.first.then(expectAsync1((result) => print(result)));
|
| });
|
| }
|
|
|