Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix syntax error
  • Loading branch information
moritz committed Feb 26, 2012
1 parent 76de685 commit 628adae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pugs/ext/Test/lib/Test.pm
Expand Up @@ -216,7 +216,7 @@ sub lives_ok (Code &code, Str $desc?, :$todo, :$depends) returns Bool is export
}
}

sub eval_lives_ok (Str $code, Str $desc = '' :$todo, :$depends) returns Bool is export {
sub eval_lives_ok (Str $code, Str $desc = '', :$todo, :$depends) returns Bool is export {
eval $code;
if ($!) {
Test::proclaim(undef, $desc, $todo, "An exception was thrown : $!", :$depends);
Expand Down

0 comments on commit 628adae

Please sign in to comment.