| Index: tests/standalone/io/process_exit_test.dart
|
| diff --git a/tests/standalone/io/process_exit_test.dart b/tests/standalone/io/process_exit_test.dart
|
| index 8e09ae94517c216f1f010e3147f661d53e9c4a96..fcd2866dfb5d88ff6804ba82314a9eeb32ea7f62 100644
|
| --- a/tests/standalone/io/process_exit_test.dart
|
| +++ b/tests/standalone/io/process_exit_test.dart
|
| @@ -5,13 +5,14 @@
|
| // Process test program to test process communication.
|
|
|
| library ProcessExitTest;
|
| +
|
| import "package:expect/expect.dart";
|
| import "dart:io";
|
| import "process_test_util.dart";
|
|
|
| testExit() {
|
| - var future = Process.start(getProcessTestFileName(),
|
| - const ["0", "0", "99", "0"]);
|
| + var future =
|
| + Process.start(getProcessTestFileName(), const ["0", "0", "99", "0"]);
|
| future.then((process) {
|
| process.exitCode.then((int exitCode) {
|
| Expect.equals(exitCode, 99);
|
| @@ -22,8 +23,8 @@ testExit() {
|
| }
|
|
|
| testExitRun() {
|
| - Process.run(getProcessTestFileName(),
|
| - const ["0", "0", "99", "0"]).then((result) {
|
| + Process.run(getProcessTestFileName(), const ["0", "0", "99", "0"]).then(
|
| + (result) {
|
| Expect.equals(result.exitCode, 99);
|
| Expect.equals(result.stdout, '');
|
| Expect.equals(result.stderr, '');
|
|
|