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),