X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F11-args.t;h=a049ea765b1b01eb1ff4e53df1f7c090474e3634;hb=20bcb585bd9651cd40e91ab49b3651aa7259c3a6;hp=a1018905af479f52071db03dff4b5c8e74eb4bdd;hpb=61f64dfa5fa4f435e6cd854d22e4325ef1eb0068;p=perl%2Fmodules%2FLexical-Types.git diff --git a/t/11-args.t b/t/11-args.t index a101890..a049ea7 100644 --- a/t/11-args.t +++ b/t/11-args.t @@ -96,7 +96,7 @@ use Test::More tests => 14 + 6; { my $expect = qr/^Lexical::Types mangler should return zero, one or two scalars, but got 3/; - diag 'This will throw two warnings' if "$]" >= 5.008008 and "$]" < 5.009; + diag 'This will throw two warnings' if "$]" >= 5.008_008 and "$]" < 5.009; local $@; eval q[ use Lexical::Types as => sub { qw }; @@ -117,7 +117,7 @@ use Test::More tests => 14 + 6; { my $expect = qr/^banana at \(eval \d+\) line 2/; - diag 'This will throw two more warnings' if "$]" >= 5.008008 and "$]" < 5.009; + diag 'This will throw two more warnings' if "$]" >= 5.008_008 and "$]" < 5.009; local $@; eval q[ use Lexical::Types as => sub { die 'banana' };