Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Deep CPAN distribution.

Report information
The Basics
Id: 74761
Status: rejected
Priority: 0/
Queue: Test-Deep

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.108
Fixed in: (no value)



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?
I'm an idiot; please disregard this ticket.
So rejected. -- rjbs