summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ def test_ok(cond,n=1)
if cond
printf "ok %d\n", $testnum
else
- where = caller(n)[0]
printf "not ok %s %d -- %s\n", $what, $testnum, where
$failed+=1
end