On Tue, 25 Sep 2001, Michael G Schwern wrote:
> 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'
That's better, I guess. But I'm mostly doing:
isa_ok($foo, 'Alzabo::Foo', 'Return value from $bar->foreign_keys should be
"Alzabo::Foo"');
That way if it fails I know exactly what was going on. I'm big on
verbosity here ;)
-dave
/*==================
www.urth.org
We await the New Sun
==================*/