summaryrefslogtreecommitdiffstats
path: root/t/open-close.t
blob: 6140821ca371ddab6b668a11c0da374fca02ee8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use IO::Pty::Easy;

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

done_testing;