Skip to content

Commit

Permalink
fix tests on 5.10 and 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Jul 24, 2014
1 parent 81e6530 commit b889b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ no warnings::illegalproto;
my $x = eval "sub (frew) { 1 }";
is 1, $x->(), 'does not die on "bad" prototype';

eval 'my $f = undef . "foo"';
eval 'my $f = (undef) . "foo"';
like $@, qr/uninitialized/, 'does not override uninitialized warnings';

eval 'my $f = 5 + "foo"';
Expand Down

0 comments on commit b889b07

Please sign in to comment.