X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbasic.t;h=24f62ce122a9ba4c426e98419f5496b20702f745;hb=d2d0fb5ec1ca61dbf8a44dd87fe3fa9ef112e50c;hp=576f0ee6177b2e709283c3ff2c765d10ad693eec;hpb=0f795b436e24989d610c910cfb66e7827c12c96d;p=gitmo%2FMooseX-StrictConstructor.git diff --git a/t/basic.t b/t/basic.t index 576f0ee..24f62ce 100644 --- a/t/basic.t +++ b/t/basic.t @@ -15,6 +15,7 @@ use Test::More tests => 15; { package Stricter; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw' ); @@ -23,6 +24,7 @@ use Test::More tests => 15; { package Subclass; + use Moose; use MooseX::StrictConstructor; extends 'Stricter'; @@ -33,6 +35,7 @@ use Test::More tests => 15; { package Tricky; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw' ); @@ -49,6 +52,7 @@ use Test::More tests => 15; { package InitArg; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw', 'init_arg' => 'other' ); @@ -58,6 +62,7 @@ use Test::More tests => 15; { package ImmutableInitArg; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw', 'init_arg' => 'other' ); @@ -70,6 +75,7 @@ use Test::More tests => 15; { package Immutable; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw' ); @@ -81,6 +87,7 @@ use Test::More tests => 15; { package ImmutableTricky; + use Moose; use MooseX::StrictConstructor; has 'thing' => ( is => 'rw' );