On Mon, Sep 24, 2001 at 10:40:53PM -0500, Dave Rolsky wrote:
> > What sort of names do you tend to throw in there?
>
> Just something more descriptive than what it generates by default.
> Something like "Check that object X isa Blah". The key being that I want
> to say _what_ object I'm checking.
Ahhhh, ok. How about this:
my $yarrow = Bar->new;
isa_ok($yarrow, "Bar", 'yarrow');
not ok 1 - yarrow->isa('bar')
# Failed test (foo.plx at line 3)
# yarrow isn't a 'Bar'
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Maybe they hooked you up with one of those ass-making magazines.
-- brian d. foy as misheard by Michael G Schwern