Skip to content

Commit

Permalink
Adapt test in prep for try doing 'use fatal'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 16, 2015
1 parent 8986659 commit 410bcb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S32-str/numeric.t
Expand Up @@ -16,8 +16,7 @@ sub check($str, $expected_type, $expected_number, $desc?) {

#?DOES 1
sub f($str) {
my $num = 0; # defined
so try { $num = +$str }
my $num = +$str;
#?niecza todo 'Failure'
ok !$num.defined, "+$str fails";
}
Expand Down

0 comments on commit 410bcb4

Please sign in to comment.