summaryrefslogtreecommitdiffstats
path: root/t/010-read-write.t
diff options
context:
space:
mode:
Diffstat (limited to 't/010-read-write.t')
-rw-r--r--t/010-read-write.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/010-read-write.t b/t/010-read-write.t
index a7ad8c7..8e401ad 100644
--- a/t/010-read-write.t
+++ b/t/010-read-write.t
@@ -12,4 +12,4 @@ like($pty->read, qr/testing/, "basic read/write testing");
# if the perl script ends with a subprocess still running, the test will exit
# with the exit status of the signal that the subprocess dies with, so we have
# to kill the subprocess before exiting.
-$pty->kill;
+$pty->close;