Index: tests/standalone/io/stdio_nonblocking_test.dart |
diff --git a/tests/standalone/io/stdio_nonblocking_test.dart b/tests/standalone/io/stdio_nonblocking_test.dart |
index d788fb5d71e98dd6dc1780c0a9e4309a005a6612..7600c6e7444d4a53f7891a95038dc029e01ca0af 100644 |
--- a/tests/standalone/io/stdio_nonblocking_test.dart |
+++ b/tests/standalone/io/stdio_nonblocking_test.dart |
@@ -12,12 +12,12 @@ import "package:expect/expect.dart"; |
void main() { |
var script = |
Platform.script.resolve("stdio_nonblocking_script.dart").toFilePath(); |
- Process.run(Platform.executable, |
- [script], |
- stdoutEncoding: ASCII, |
- stderrEncoding: ASCII).then((result) { |
- print(result.stdout); |
- print(result.stderr); |
+ Process |
+ .run(Platform.executable, [script], |
+ stdoutEncoding: ASCII, stderrEncoding: ASCII) |
+ .then((result) { |
+ print(result.stdout); |
+ print(result.stderr); |
Expect.equals(1, result.exitCode); |
Expect.equals('stdout\n\ntuodts\nABCDEFGHIJKLM\n', result.stdout); |
Expect.equals('stderr\n\nrredts\nABCDEFGHIJKLM\n', result.stderr); |