Skip to content

Commit

Permalink
fix logic error in unary nok() function in Test.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Apr 14, 2009
1 parent 13c2c7c commit 48c2042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test.pm
Expand Up @@ -55,7 +55,7 @@ multi sub nok(Object $cond, $desc) is export(:DEFAULT) {
proclaim(!$cond, $desc);
}

multi sub nok(Object $cond) is export(:DEFAULT) { nok(!$cond, ''); }
multi sub nok(Object $cond) is export(:DEFAULT) { nok($cond, ''); }


multi sub is(Object $got, Object $expected, $desc) is export(:DEFAULT) {
Expand Down

0 comments on commit 48c2042

Please sign in to comment.