Index: tests/isolate/spawn_uri_nested_child2_vm_isolate.dart |
diff --git a/tests/isolate/spawn_uri_nested_child2_vm_isolate.dart b/tests/isolate/spawn_uri_nested_child2_vm_isolate.dart |
index 87efa5bad7eecf3c9eea7ba28cde20481a822dc2..d9b9b7e81db2c5923293afb03c2600f39d2b6b28 100644 |
--- a/tests/isolate/spawn_uri_nested_child2_vm_isolate.dart |
+++ b/tests/isolate/spawn_uri_nested_child2_vm_isolate.dart |
@@ -6,6 +6,7 @@ |
library NestedSpawnUriChild2Library; |
import 'dart:isolate'; |
-void main() { |
- port.receive((msg, reply) => reply.send('re: $msg')); |
+void main(List<String> args, SendPort replyTo) { |
+ var data = args[0]; |
+ replyTo.send('re: $data'); |
} |