Skip Menu |

This queue is for tickets about the Moose-Autobox CPAN distribution.

Report information
The Basics
Id: 76183
Status: resolved
Priority: 0/
Queue: Moose-Autobox

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

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



Subject: 003_p6_example.t - fix, use_ok
Hi, here a change suggestion : diff --git a/t/003_p6_example.t b/t/003_p6_example.t index bead570..d1e00e4 100644 --- a/t/003_p6_example.t +++ b/t/003_p6_example.t @@ -7,7 +7,7 @@ use Test::More tests => 8; use Test::Exception; BEGIN { - use_ok('Moose::Autobox'); + require_ok 'Moose::Autobox'; } =pod The use_ok doesn't act exactly like 'use', so the Moose::Autobox will export his symbol outside the BEGIN after the 0.98 version of Test::More. A replacement by 'use Moose::Autobox' should also do the same think (test crash if it can't load his module),
thanks, the next version will have dropped use_ok -- rjbs