From: Dave Rolsky Date: Sun, 31 Aug 2008 04:17:07 +0000 (+0000) Subject: MX::SC no longer also exports Moose sugar X-Git-Tag: 0.06_02~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-StrictConstructor.git;a=commitdiff_plain;h=3e532dbee39b147a5c728ea4582e14f545ad48d2;hp=ab80b9176946569241b436657150cc54b469103b MX::SC no longer also exports Moose sugar --- 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' );