| 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..07deb9af997da5fd049fe18591f23c9b7175a86f 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)));
|
| });
|
| }
|
|
|