From 4469b61e3290813269678a16ba3508de086f6f0f Mon Sep 17 00:00:00 2001 From: doy Date: Tue, 3 Feb 2009 23:05:32 -0500 Subject: call new directly, not indirectly --- t/001-open-close.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/001-open-close.t') 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"); -- cgit v1.2.3-54-g00ecf