Index: tests/standalone/io/process_std_io_script.dart |
diff --git a/tests/standalone/io/process_std_io_script.dart b/tests/standalone/io/process_std_io_script.dart |
index 7e55c8d85351b7d56770cb7d95728f65cff3400b..8aee620a52dcaf95ef75f85987aff19eb0d535b5 100644 |
--- a/tests/standalone/io/process_std_io_script.dart |
+++ b/tests/standalone/io/process_std_io_script.dart |
@@ -6,14 +6,13 @@ |
import "dart:io"; |
-main() { |
- var options = new Options(); |
- if (options.arguments.length > 0) { |
- if (options.arguments[0] == "0") { |
+main(List<String> arguments) { |
+ if (arguments.length > 0) { |
+ if (arguments[0] == "0") { |
stdin.pipe(stdout); |
- } else if (options.arguments[0] == "1") { |
+ } else if (arguments[0] == "1") { |
stdin.pipe(stderr); |
- } else if (options.arguments[0] == "2") { |
+ } else if (arguments[0] == "2") { |
stdin.listen((data) { |
stdout.add(data); |
stderr.add(data); |