Index: tests/standalone/src/ProcessBrokenPipeTest.dart |
diff --git a/tests/standalone/src/ProcessBrokenPipeTest.dart b/tests/standalone/src/ProcessBrokenPipeTest.dart |
index 839f9d7f823ddd88f29590c6c9c002e35ac8673a..142496580a4241bc2e3b83723d6bd49f10d2b8e8 100644 |
--- a/tests/standalone/src/ProcessBrokenPipeTest.dart |
+++ b/tests/standalone/src/ProcessBrokenPipeTest.dart |
@@ -14,7 +14,7 @@ main() { |
// Write to the stdin after the process is terminated to test |
// writing to a broken pipe. |
- process.exitHandler = (code) { |
+ process.onExit = (code) { |
Expect.isFalse(process.stdin.write([0])); |
process.close(); |
}; |