Subject: | Contradictory behaviour in unit tests with respect to isa() |
The first unit test in t/isa.t does this check:
perl -MTest::Deep -wle'cmp_deeply(isa({}), "HASH")'
...which passes, on the most recent version. However, the documentation
for isa() only indicates that it "check[s] that $got_v is blessed into
the class $class."
So, do we want this test to pass or to fail? Respecting the docs and
changing the tests would make fixing
https://rt.cpan.org/Ticket/Display.html?id=74760 a lot easier.
Comments?