Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[common] $diag arg of ok should be optional.
  • Loading branch information
jnthn committed Oct 20, 2010
1 parent aa37f0f commit 7e9d2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/NQP/NQPSetting.pm
Expand Up @@ -229,7 +229,7 @@ sub plan($n) {
print("1..");
say($n);
}
sub ok($check, $diag) {
sub ok($check, $diag?) {
$count := $count + 1;
unless $check { print("not ") }
print("ok ");
Expand Down

0 comments on commit 7e9d2b8

Please sign in to comment.