| Index: tests/standalone/io/dart_std_io_pipe_test.dart
|
| diff --git a/tests/standalone/io/dart_std_io_pipe_test.dart b/tests/standalone/io/dart_std_io_pipe_test.dart
|
| index ad218bc188e8c5e4ec55987ef021f9f66bcf412a..ef5b84ffa34a9c08a149afac5043c3170a48e695 100644
|
| --- a/tests/standalone/io/dart_std_io_pipe_test.dart
|
| +++ b/tests/standalone/io/dart_std_io_pipe_test.dart
|
| @@ -31,8 +31,7 @@ void checkFileContent(String fileName, String content) {
|
|
|
|
|
| void test(String shellScript, String dartScript, String type) {
|
| - Directory dir = new Directory("");
|
| - dir.createTempSync();
|
| + Directory dir = new Directory("").createTempSync();
|
|
|
| // The shell script will run the dart executable passed with a
|
| // number of different redirections of stdio.
|
| @@ -41,7 +40,7 @@ void test(String shellScript, String dartScript, String type) {
|
| String executable = new Options().executable;
|
| List args =
|
| [executable, dartScript, type, pipeOutFile, redirectOutFile];
|
| - Process process = new Process.start(shellScript, args);
|
| + InteractiveProcess process = Process.start(shellScript, args);
|
|
|
| // Wait for the process to exit and then check result.
|
| process.onExit = (exitCode) {
|
|
|