| Index: tests/standalone/io/regress_7191_script.dart
|
| diff --git a/tests/standalone/io/regress_7191_script.dart b/tests/standalone/io/regress_7191_script.dart
|
| index 076d21947167458c5646c4d7d66c7ecc58e1ef60..7bc7a3e3091863fb1e1428056e9997ba76145f2f 100644
|
| --- a/tests/standalone/io/regress_7191_script.dart
|
| +++ b/tests/standalone/io/regress_7191_script.dart
|
| @@ -18,7 +18,7 @@ main() {
|
| // When receiving data again, kill sub-process and exit.
|
| subscription.onData((data) {
|
| p.kill();
|
| - p.exitCode.then(exit);
|
| + p.exitCode.then((_) => exit(0));
|
| });
|
| // Close stdout. If handles are incorrectly inherited this will
|
| // not actually close stdout and the test will hang.
|
|
|