Index: tests/standalone/http_launch_data/http_spawn_main.dart |
diff --git a/tests/standalone/http_launch_data/http_spawn_main.dart b/tests/standalone/http_launch_data/http_spawn_main.dart |
index dadc38558c8fb56cddaa76867e2bc3933e89223d..3960ea6190d3395a5a94c28c58074eaea927bf1c 100644 |
--- a/tests/standalone/http_launch_data/http_spawn_main.dart |
+++ b/tests/standalone/http_launch_data/http_spawn_main.dart |
@@ -7,8 +7,8 @@ library http_lanuch_main; |
import 'dart:isolate'; |
import 'dart:io'; |
-main() { |
- int port = int.parse(new Options().arguments[0]); |
+main(List<String> arguments) { |
+ int port = int.parse(arguments[0]); |
SendPort spawnedPort = |
spawnUri('http://127.0.0.1:$port/http_isolate_main.dart'); |
spawnedPort.call('hello').then((response) { |