Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test.pm needs to deal with eval() not catching exceptions
  • Loading branch information
moritz committed Oct 5, 2011
1 parent 741a933 commit fa2d5c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Test.pm
Expand Up @@ -324,7 +324,9 @@ sub _is_deeply(Mu $got, Mu $expected) {
## 'private' subs

sub eval_exception($code) {
eval ($code);
try {
eval ($code);
}
$!;
}

Expand Down

0 comments on commit fa2d5c5

Please sign in to comment.