On Thu, Feb 05, 2009 at 10:00:38AM +0200, Gabor Szabo wrote:

> You might want to report error if both plan(2) and add_plan(2) was
> called in the same file.

Or you might not.

plan(2);
# generic tests
ok(...);
ok(...);
if($ENV{RUN_REALLY_SLOW_TESTS}) {
  add_plan(2);
  ok(...);
  ok(...);
}
done_testing();

-- 
David Cantrell | top google result for "internet beard fetish club"

You don't need to spam good porn

Reply via email to