Index: tests/standalone/http_launch_data/http_isolate_main.dart |
diff --git a/tests/standalone/http_launch_data/http_isolate_main.dart b/tests/standalone/http_launch_data/http_isolate_main.dart |
index ba7a59de5838ac18109f96e89d183fa53fab5a3a..ad6306ab1e0da2f77e18121299b87450fe747314 100644 |
--- a/tests/standalone/http_launch_data/http_isolate_main.dart |
+++ b/tests/standalone/http_launch_data/http_isolate_main.dart |
@@ -4,8 +4,7 @@ |
import 'dart:isolate'; |
-main() { |
- port.receive((message, replyTo) { |
- replyTo.call(message); |
- }); |
+main(List<String> args, SendPort replyTo) { |
+ var data = args[0]; |
+ replyTo.send(data); |
} |