Skip Menu |

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

Report information
The Basics
Id: 49873
Status: resolved
Priority: 0/
Queue: MooseX-Traits

People
Owner: bobtfish [...] bobtfish.net
Requestors: GRAF [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failure
I'm unable to install this module. Perhaps because of changes in Moose/Class::MOP? I have Moose 0.91 and Class::MOP 0.93 (most recent ATM). Perl 5.10.0 cpan[25]> install MooseX::Traits Running install for module 'MooseX::Traits' Running make for J/JR/JROCKWAY/MooseX-Traits-0.07.tar.gz Has already been unwrapped into directory /root/.cpan_5.10.0/build/MooseX-Traits-0.07-MZ93qO Has already been made Running make test PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ........ ok t/basic.t .......... ok t/class.t .......... ok t/parameterized.t .. 1/11 # Failed test 'Class::MOP::Class::__ANON__::SERIAL::3->can(...)' # at t/parameterized.t line 78. # Class::MOP::Class::__ANON__::SERIAL::3->can('OHHAI') failed # Failed test 'Class::MOP::Class::__ANON__::SERIAL::4->can(...)' # at t/parameterized.t line 89. # Class::MOP::Class::__ANON__::SERIAL::4->can('OHHAI') failed # Looks like you failed 2 tests of 11. t/parameterized.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/11 subtests t/subclass.t ....... ok
MooseX::Role::Parameterized turned out to be the reason. After upgrading from 0.05 to 0.13 the test passed. So the test should assert, that MX:R:P is recent enough.
Fixed in commit 991ba2b. Thanks for the bug report.