summaryrefslogtreecommitdiffstats
path: root/t/003-subprocess.t
diff options
context:
space:
mode:
Diffstat (limited to 't/003-subprocess.t')
-rw-r--r--t/003-subprocess.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/003-subprocess.t b/t/003-subprocess.t
index 352b7b4..cc87025 100644
--- a/t/003-subprocess.t
+++ b/t/003-subprocess.t
@@ -4,7 +4,7 @@ use warnings;
use Test::More tests => 2;
use IO::Pty::Easy;
-my $pty = new IO::Pty::Easy;
+my $pty = IO::Pty::Easy->new;
my $script = << 'EOF';
$| = 1;
if (-t *STDIN && -t *STDOUT) { print "ok" }