Index: tests/standalone/io/process_segfault_test.dart |
diff --git a/tests/standalone/io/process_segfault_test.dart b/tests/standalone/io/process_segfault_test.dart |
index 33081396684794331c80c0c0cf79cd074d88ed05..b043ddfb52139bd673ee645bd2bfae1b660ea415 100644 |
--- a/tests/standalone/io/process_segfault_test.dart |
+++ b/tests/standalone/io/process_segfault_test.dart |
@@ -5,13 +5,14 @@ |
// Process test program to test process communication. |
library ProcessSegfaultTest; |
+ |
import "package:expect/expect.dart"; |
import "dart:io"; |
import "process_test_util.dart"; |
testExit() { |
- var future = Process.start(getProcessTestFileName(), |
- const ["0", "0", "1", "1"]); |
+ var future = |
+ Process.start(getProcessTestFileName(), const ["0", "0", "1", "1"]); |
future.then((process) { |
process.exitCode.then((int exitCode) { |
Expect.isTrue(exitCode != 0); |
@@ -21,17 +22,15 @@ testExit() { |
}); |
} |
- |
testExitRun() { |
- Process.run(getProcessTestFileName(), |
- const ["0", "0", "1", "1"]).then((result) { |
+ Process |
+ .run(getProcessTestFileName(), const ["0", "0", "1", "1"]).then((result) { |
Expect.isTrue(result.exitCode != 0); |
Expect.equals(result.stdout, ''); |
Expect.equals(result.stderr, ''); |
}); |
} |
- |
main() { |
testExit(); |
testExitRun(); |