X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F16-scope.t;h=e62ceb0e53f6101d8ce1d4c5a4fc6c05771c80b3;hb=20bcb585bd9651cd40e91ab49b3651aa7259c3a6;hp=08fabbb329654a60be4ace30baca5f23c458c4f4;hpb=bf1b09f4ab8df1710df549764d511b110c6cb396;p=perl%2Fmodules%2FLexical-Types.git diff --git a/t/16-scope.t b/t/16-scope.t index 08fabbb..e62ceb0 100644 --- a/t/16-scope.t +++ b/t/16-scope.t @@ -39,7 +39,7 @@ use lib 't/lib'; ::is($z, __FILE__.':6', 'pragma in use at the end'); } TESTREQUIRED3 - @w = grep !/^warn:Attempt\s+to\s+free\s+unreferenced/, @w if $] <= 5.008003; + @w = grep !/^warn:Attempt\s+to\s+free\s+unreferenced/, @w if "$]" <= 5.008_003; is $@, '', 'third require test didn\'t croak prematurely'; is_deeply \@w, [ ], 'third require test didn\'t warn'; is_deeply \@decls, [ map "Int3$_", qw ],