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..95019e5b535a65e24cda81d1fdc0a7ee5d86adbe 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); |
+ Process process = Process.start(shellScript, args); |
// Wait for the process to exit and then check result. |
process.onExit = (exitCode) { |