Permalink
Browse files

[common] $diag arg of ok should be optional.

  • Loading branch information...
1 parent aa37f0f commit 7e9d2b8dfdb306c1aa3e3035622ca7213d6fa813 @jnthn committed Oct 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 common/NQP/NQPSetting.pm
View
@@ -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 ");

0 comments on commit 7e9d2b8

Please sign in to comment.