Skip Menu |

This queue is for tickets about the Courriel CPAN distribution.

Report information
The Basics
Id: 102382
Status: resolved
Priority: 0/
Queue: Courriel

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

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



Subject: t/Builder.t fails (because of recent MooseX::Params::Validate?)
make test output of the failure: # Failed test 'got error when passing invalid value to build_email' # at t/Builder.t line 399. # 'Parameter #1 does not pass the type constraint because: Validation failed for 'HashRef' with value [ "wtf" ] at /usr/perl5.14.4/lib/site_perl/5.14.4/MooseX/Params/Validate.pm line 239 # MooseX::Params::Validate::__ANON__('ARRAY(0x47268450)', 'ARRAY(0x44855528)') called at /usr/perl5.14.4/lib/site_perl/5.14.4/MooseX/Params/Validate.pm line 178 # eval {...} at /usr/perl5.14.4/lib/site_perl/5.14.4/MooseX/Params/Validate.pm line 178 # MooseX::Params::Validate::pos_validated_list('ARRAY(0x47184fd8)', 'HASH(0x4719b858)', 'MX_PARAMS_VALIDATE_NO_CACHE', 1) called at /usr/home/eserte/.cpan/build/Courriel-0.36-cDquos/blib/lib/Courriel/Builder.pm line 53 # Courriel::Builder::build_email('ARRAY(0x47268450)') called at t/Builder.t line 398 # main::__ANON__ at /usr/perl5.14.4/lib/site_perl/5.14.4/Test/Fatal.pm line 129 # Test::Fatal::try {...} at /usr/perl5.14.4/lib/site_perl/5.14.4/Try/Tiny.pm line 76 # eval {...} at /usr/perl5.14.4/lib/site_perl/5.14.4/Try/Tiny.pm line 72 # Try::Tiny::try('CODE(0x47269270)', 'Try::Tiny::Catch=REF(0x470620f0)') called at /usr/perl5.14.4/lib/site_perl/5.14.4/Test/Fatal.pm line 136 # Test::Fatal::exception('CODE(0x471b05a0)') called at t/Builder.t line 399 # ' # doesn't match '(?^:checking type constraint for HashRef)' # Looks like you failed 1 test of 47. t/Builder.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/47 subtests (less 2 skipped subtests: 44 okay) MooseX-Params-Validate documents a backwards incompatibility in its newest release, so this might be the reason.