summaryrefslogtreecommitdiffstats
path: root/t/001-open-close.t
diff options
context:
space:
mode:
Diffstat (limited to 't/001-open-close.t')
-rw-r--r--t/001-open-close.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/001-open-close.t b/t/001-open-close.t
index 46ad7fc..8ea5c69 100644
--- a/t/001-open-close.t
+++ b/t/001-open-close.t
@@ -4,6 +4,6 @@ use warnings;
use Test::More tests => 1;
use IO::Pty::Easy;
-my $pty = new IO::Pty::Easy;
+my $pty = IO::Pty::Easy->new;
$pty->close;
ok(!defined($pty->{pty}), "closing a pty before a spawn");