From: Dave Rolsky Date: Thu, 7 Aug 2008 14:17:10 +0000 (+0000) Subject: Only import has to avoid overwriting make_immutable X-Git-Tag: 0.05~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5091e7b52c1532d96210b3fe0779c831b5e4eb30;p=gitmo%2FMooseX-ClassAttribute.git Only import has to avoid overwriting make_immutable Require newer MX::AH --- diff --git a/t/lib/SharedTests.pm b/t/lib/SharedTests.pm index 30928d0..9df7a6e 100644 --- a/t/lib/SharedTests.pm +++ b/t/lib/SharedTests.pm @@ -9,7 +9,7 @@ use Test::More; my $HasMXAH; BEGIN { - if ( eval 'use MooseX::AttributeHelpers; 1;' ) + if ( eval 'use MooseX::AttributeHelpers 0.09; 1;' ) { $HasMXAH = 1; } @@ -21,7 +21,7 @@ plan tests => 25; { package HasClassAttribute; - use Moose; + use Moose qw( has ); use MooseX::ClassAttribute; use vars qw($Lazy);