summaryrefslogtreecommitdiff
path: root/t/op/ver.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/ver.t')
-rwxr-xr-xt/op/ver.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/op/ver.t b/t/op/ver.t
index f64cf47579..31bd09c0fd 100755
--- a/t/op/ver.t
+++ b/t/op/ver.t
@@ -2,7 +2,7 @@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
+ @INC = qw(. ../lib);
$SIG{'__WARN__'} = sub { warn $_[0] if $DOWARN };
}
@@ -11,8 +11,8 @@ $DOWARN = 1; # enable run-time warnings now
use Config;
$tests = $Config{'uvsize'} == 8 ? 47 : 44;
-require Test::More;
-Test::More->import( tests => $tests );
+require "test.pl";
+plan( tests => $tests );
eval { use v5.5.640; };
is( $@, '', "use v5.5.640; $@");