>From Test::More docs:
# XXX BAD! $pope->isa('Catholic') eq 1
is( $pope->isa('Catholic'), 1, 'Is the Pope Catholic?' );
This does not check if "$pope-"isa('Catholic')> is
true, it checks if it returns 1. Very different.
Similar caveats exist for false and 0. In these
cases, use ok().
ok( $pope->isa('Catholic') ), 'Is the Pope Catholic?' );
This was presumably a better example before the isa_ok function was added ...
Perhaps this should be changed to something similar that couldn't use that?
(And if not, the " and > should presumably be changed round in the
"This does not check ..." line ...)
Tony