Browse files

fix syntax error

  • Loading branch information...
1 parent 76de685 commit 628adae6e3c4d311901e57e48d52aaa20b42cdc1 @moritz moritz committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Pugs/ext/Test/lib/Test.pm
View
2 Pugs/ext/Test/lib/Test.pm
@@ -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);

0 comments on commit 628adae

Please sign in to comment.