Subject: | Confusing isa_ok diagnostics: ‘it's a ''’ |
With 0.98:
$ ./perl -Ilib -MTest::More -e 'isa_ok "foo", "bar"'
not ok 1 - The class isa bar
# Failed test 'The class isa bar'
# at -e line 1.
# The class isn't a 'bar' it's a ''
# Tests were run but no plan was declared and done_testing() was not seen.
With 1.005000_005:
$ perl5.8.9 -MTest::More -e 'isa_ok "foo", "bar"'
TAP version 13
not ok 1 - The class isa bar
# Failed test 'The class isa bar'
# at -e line 1.
# The class isn't a 'bar' it's a ''
# 1 test ran, but no plan was declared.
# 1 test of 1 failed.
In any case, please see perl ticket #105922, which was how I discovered this.