| Index: tests/standalone/io/process_stdout_test.dart
|
| diff --git a/tests/standalone/io/process_stdout_test.dart b/tests/standalone/io/process_stdout_test.dart
|
| index cb6b0a1e19d37e0d286157f6b86f9db9045b76cb..b73dabad7f2a8a0de2506b259c43f8393eb2ef0b 100644
|
| --- a/tests/standalone/io/process_stdout_test.dart
|
| +++ b/tests/standalone/io/process_stdout_test.dart
|
| @@ -12,7 +12,7 @@
|
| #import("dart:io");
|
| #source("process_test_util.dart");
|
|
|
| -void test(Process process, int expectedExitCode) {
|
| +void test(InteractiveProcess process, int expectedExitCode) {
|
| // Wait for the process to start and then interact with it.
|
| process.onStart = () {
|
| List<int> data = "ABCDEFGHI\n".charCodes();
|
| @@ -57,8 +57,8 @@ void test(Process process, int expectedExitCode) {
|
|
|
| main() {
|
| // Run the test using the process_test binary.
|
| - test(new Process.start(getProcessTestFileName(),
|
| - const ["0", "1", "99", "0"]), 99);
|
| + test(Process.start(getProcessTestFileName(),
|
| + const ["0", "1", "99", "0"]), 99);
|
|
|
| // Run the test using the dart binary with an echo script.
|
| // The test runner can be run from either the root or from runtime.
|
| @@ -67,5 +67,5 @@ main() {
|
| scriptFile = new File("../tests/standalone/io/process_std_io_script.dart");
|
| }
|
| Expect.isTrue(scriptFile.existsSync());
|
| - test(new Process.start(new Options().executable, [scriptFile.name, "0"]), 0);
|
| + test(Process.start(new Options().executable, [scriptFile.name, "0"]), 0);
|
| }
|
|
|