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..fda3bd4c9e57c3e33d71175fd55869e77754ac42 100644 |
--- a/tests/isolate/spawn_uri_child_isolate.dart |
+++ b/tests/isolate/spawn_uri_child_isolate.dart |
@@ -6,6 +6,8 @@ |
library SpawnUriChildIsolate; |
import 'dart:isolate'; |
-void main() { |
- port.receive((msg, reply) => reply.send('re: $msg')); |
+void main({message}) { |
+ var data = message[0]; |
+ var replyTo = message[1]; |
+ replyTo.send('re: $data'); |
} |