--- On Thu, 25/6/09, Josh Heumann <[email protected]> wrote:
> From: Josh Heumann <[email protected]>
>
> > As long as we're bike-shedding, a simplification:
> >
> > subtest {
> > plan "sanity check" => 3;
> > pass for 1 .. 3;
> > }
>
> +1
>
> I like anything that keeps it roughly in line with the
> syntax for TODO
> and SKIP blocks:
I understand where you're coming from, but different things should look
different. SKIP and TODO are relatively similar, but subtests are
significantly different from them.
In any event, I'm completely mystified why anyone has a problem with the
"subtest $name, sub { ...}" syntax. Honestly :)
But since I don't have a clue and am not particularly fussed, I'll just bow out
and let you folks have at it.
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6