summaryrefslogtreecommitdiffstats
path: root/t/001-open-close.t
blob: 8ea5c6907b22dde1304ccbbed376659cffa0efb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!perl
use strict;
use warnings;
use Test::More tests => 1;
use IO::Pty::Easy;

my $pty = IO::Pty::Easy->new;
$pty->close;
ok(!defined($pty->{pty}), "closing a pty before a spawn");