Index: tests/isolate/spawn_uri_child_isolate.dart |
diff --git a/tests/isolate/spawn_uri_child_isolate.dart b/tests/isolate/spawn_uri_child_isolate.dart |
index 9e5fc93bffca7f7d74621a844b281edb74d07dc8..57f1dde7a64d86396ead690dc340db773f559595 100644 |
--- a/tests/isolate/spawn_uri_child_isolate.dart |
+++ b/tests/isolate/spawn_uri_child_isolate.dart |
@@ -6,6 +6,7 @@ |
library SpawnUriChildIsolate; |
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'); |
} |