Subject: | MooX-Options test t/mouse.t fails if you don't have moose installed. |
Date: | Thu, 31 May 2012 21:44:38 +0000 |
To: | "bug-MooX-Options [...] rt.cpan.org" <bug-MooX-Options [...] rt.cpan.org> |
From: | Ben Martin <Ben.Martin [...] mathworks.com> |
Hi,
I have Moo and Mouse installed, but not Moose. ./Build test fails with:
t/000-report-versions.t ......... ok
t/failure.t ..................... ok
t/filter.t ...................... ok
t/flavour.t ..................... ok
t/mo.t .......................... skipped: Need Mo for this test
t/moo.t ......................... ok
t/moose.t ....................... skipped: Need Moose for this test
t/mouse.t ....................... Can't locate Moose.pm in @INC (@INC contains: ...
It looks like the other tests correctly skip if their dependencies are missing. If the mouse test needs m
This is the problem:
http://cpansearch.perl.org/src/CELOGEEK/MooX-Options-1.4/t/mouse.t
{
package t_doc;
use Moose;
use MooX::Options;
option 't' => ( is => 'ro', doc => 'this is a test' );
1;
}
The test passes fine if that 'Moose' is changed to 'Mouse'.
Thanks,
Ben Martin