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: 85700
Status: rejected
Priority: 0/
Queue: Test-Deep

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.110
Fixed in: (no value)



Subject: superhash is not "recursive"
Download (untitled) / with headers
text/plain 231b
this cmp_deeply({x => {y => 3, z => 4}, a => 1, b => 2}, superhashof({x => {y => 3}, a => 1})); fails with # Comparing hash keys of $data->{"x"} # Extra: 'z' not sure if it's a feature or bug, documentation is vague for this.
Download (untitled) / with headers
text/plain 429b
On 2013-05-29 06:21:01, vsespb wrote: Show quoted text
> this > > cmp_deeply({x => {y => 3, z => 4}, a => 1, b => 2}, superhashof({x => > {y => 3}, a => 1})); > > fails with > > # Comparing hash keys of $data->{"x"} > # Extra: 'z' > > > not sure if it's a feature or bug, documentation is vague for this.
That's a feature. Sub-components of the data are compared literally unless they themselves are wrapped with modifiers like superhash.
Agreed. -- rjbs


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.