X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcomp%2Frequire.t;h=efce899edc84cd46bf00551c48ae52410b052dcf;hb=dd629d5bb3bd7014585b7aad3c6715a5011673bc;hp=cd97c55edac77645de86a0fc8271aa22cd0f5503;hpb=c737447429a83c6d1354c19959048bc7751d6936;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/comp/require.t b/t/comp/require.t index cd97c55..efce899 100755 --- a/t/comp/require.t +++ b/t/comp/require.t @@ -47,7 +47,7 @@ eval { require v5.5.630; }; print "# $@\nnot " if $@; print "ok ",$i++,"\n"; -eval { require v10.0.2; }; +eval { require 10.0.2; }; print "# $@\nnot " unless $@ =~ /^Perl v10\.0\.2 required/; print "ok ",$i++,"\n"; @@ -55,7 +55,7 @@ eval q{ use v5.5.630; }; print "# $@\nnot " if $@; print "ok ",$i++,"\n"; -eval q{ use v10.0.2; }; +eval q{ use 10.0.2; }; print "# $@\nnot " unless $@ =~ /^Perl v10\.0\.2 required/; print "ok ",$i++,"\n"; @@ -75,7 +75,7 @@ eval { require $ver; }; print "# $@\nnot " unless $@ =~ /^Perl v10\.0\.20 required/; print "ok ",$i++,"\n"; -print "not " unless v5.5.1 gt v5.5; +print "not " unless 5.5.1 gt v5.5; print "ok ",$i++,"\n"; {