diff options
Diffstat (limited to 't/002-spawn.t')
-rw-r--r-- | t/002-spawn.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/002-spawn.t b/t/002-spawn.t index 6924f85..620a57a 100644 --- a/t/002-spawn.t +++ b/t/002-spawn.t @@ -13,4 +13,4 @@ ok(!$pty->is_active, "killing a subprocess"); $pty->spawn("$^X -ple ''"); $pty->close; ok(!$pty->is_active, "auto-killing a pty with close()"); -ok(!defined($pty->{pty}), "closing a pty after a spawn"); +ok(!$pty->opened, "closing a pty after a spawn"); |