Index: tests/standalone/io/regress_7191_test.dart |
diff --git a/tests/standalone/io/regress_7191_test.dart b/tests/standalone/io/regress_7191_test.dart |
index be15856e755ecf50f2f471e298f0e6216f4b5691..a68a800b2afbd1e8d78498c27766998d6d937c78 100644 |
--- a/tests/standalone/io/regress_7191_test.dart |
+++ b/tests/standalone/io/regress_7191_test.dart |
@@ -23,9 +23,10 @@ main() { |
var script = Platform.script.resolve('regress_7191_script.dart').toFilePath(); |
Process.start(executable, [script]).then((process) { |
process.stdin.add([0]); |
- process.stdout.listen((_) { }, |
- onDone: () { process.stdin.add([0]); }); |
- process.stderr.listen((_) { }); |
+ process.stdout.listen((_) {}, onDone: () { |
+ process.stdin.add([0]); |
+ }); |
+ process.stderr.listen((_) {}); |
process.exitCode.then((exitCode) { |
asyncEnd(); |
if (exitCode != 0) throw "Bad exit code"; |