Skip Menu |
 

This queue is for tickets about the MooseX-Types-Structured CPAN distribution.

Report information
The Basics
Id: 68822
Status: resolved
Priority: 0/
Queue: MooseX-Types-Structured

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

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



Subject: t/04-map.t failure
Download (untitled) / with headers
text/plain 2.9k
mike@binnie:~/.cpan/build/MooseX-Types-Structured-0.25-ypKHkT$ prove -v t/04-map.t t/04-map.t .. ok 1 - simple Int -> Num mapping ok 2 - non-Int causes rejection on key not ok 3 - non-Num value causes rejection on value # Failed test 'non-Num value causes rejection on value' # at t/04-map.t line 17. # 'Validation failed for 'Map[Int,Num]' with value "{ 10: "ten and a half" }, Internal Validation Error is: \n [+] Validation failed for 'Num' with value "ten and a half"" at /home/mike/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/i686- linux/Moose/Meta/TypeConstraint.pm line 138 # Moose::Meta::TypeConstraint::assert_valid('MooseX::Meta::TypeConstraint: :Structured=HASH(0xa4507a8)', 'HASH(0xa452de8)') called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/MooseX/Types/TypeDecorator.pm line 155 # eval {...} called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/MooseX/Types/TypeDecorator.pm line 154 # MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HAS H(0x9cbde98)', 'HASH(0xa452de8)') called at t/04-map.t line 16 # main::__ANON__() called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Test/Fatal.pm line 23 # Test::Fatal::__ANON__() called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Try/Tiny.pm line 71 # eval {...} called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Try/Tiny.pm line 67 # Try::Tiny::try('CODE(0xa4506b8)', 'Try::Tiny::Catch=REF(0xa50e1b0)') called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Test/Fatal.pm line 30 # Test::Fatal::exception('CODE(0x9cbdeb8)') called at t/04-map.t line 17 # at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/MooseX/Types/TypeDecorator.pm line 157 # MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HAS H(0x9cbde98)', 'HASH(0xa452de8)') called at t/04-map.t line 16 # main::__ANON__() called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Test/Fatal.pm line 23 # Test::Fatal::__ANON__() called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Try/Tiny.pm line 71 # eval {...} called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Try/Tiny.pm line 67 # Try::Tiny::try('CODE(0xa4506b8)', 'Try::Tiny::Catch=REF(0xa50e1b0)') called at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/Test/Fatal.pm line 30 # Test::Fatal::exception('CODE(0x9cbdeb8)') called at t/04-map.t line 17 # ' # doesn't match '(?-xism:value ten and a half)' ok 4 - empty hashref is a valid mapping of any sort 1..4 # Looks like you failed 1 test of 4. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests Test Summary Report ------------------- t/04-map.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=4, 0 wallclock secs ( 0.06 usr 0.00 sys + 0.71 cusr 0.04 csys = 0.81 CPU) Result: FAIL
I can't reproduce this -- do you still have this issue with 0.28?
Download (untitled) / with headers
text/plain 115b
On Wed Nov 20 17:18:44 2013, ETHER wrote: Show quoted text
> I can't reproduce this -- do you still have this issue with 0.28?
Nope


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.