summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/autouse.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autouse.t b/lib/autouse.t
index b81a40f826..d4ca15a272 100644
--- a/lib/autouse.t
+++ b/lib/autouse.t
@@ -56,7 +56,7 @@ use autouse 'Errno' => qw(EPERM);
my $mod_file = 'Errno.pm'; # just fine and portable for %INC
ok( !exists $INC{$mod_file} );
-ok( EPERM, 1 );
+ok( EPERM ); # test if non-zero
ok( exists $INC{$mod_file} );
use autouse Env => "something";