# from Ovid
# on Wednesday 21 January 2009 10:47:

> multi sub skip()              is export() { proclaim(1, "# SKIP"); }
>  multi sub skip($desc)         is export() { proclaim(1, "# SKIP " ~
> $desc); } multi sub skip($count, $desc) is export() {
>      for 1..$count {
>          proclaim(1, "# SKIP " ~ $desc);
>      }
>  }

Passing a number of tests to skip() is an untested failure waiting to 
happen.

Perhaps it is still no easy task to count the tests in a block, but 
making humans count them is just asking for errors.

--Eric
-- 
"Beware of bugs in the above code; I have only proved it correct, not
tried it."
--Donald Knuth
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to