summaryrefslogtreecommitdiffstats
path: root/t/004-undefined-program.t
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-02-03 23:05:32 -0500
committerdoy <doy@tozt.net>2009-02-03 23:05:32 -0500
commit4469b61e3290813269678a16ba3508de086f6f0f (patch)
tree207676b5807d4f152203f77c8e7fca4d1391be03 /t/004-undefined-program.t
parente4edfa09f4414a55ed9bbaea09c0b04a7da689b1 (diff)
downloadio-pty-easy-4469b61e3290813269678a16ba3508de086f6f0f.tar.gz
io-pty-easy-4469b61e3290813269678a16ba3508de086f6f0f.zip
call new directly, not indirectly0.04
Diffstat (limited to 't/004-undefined-program.t')
-rw-r--r--t/004-undefined-program.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/004-undefined-program.t b/t/004-undefined-program.t
index 5b398c6..335a415 100644
--- a/t/004-undefined-program.t
+++ b/t/004-undefined-program.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;
eval {
local $SIG{ALRM} = sub { die "alarm\n" };
alarm 5;