X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoose-Policy.git;a=blobdiff_plain;f=t%2F011_JavaAccessors_test.t;fp=t%2F011_JavaAccessors_test.t;h=9880ead506dc5aa4825e389663738e304870b0bd;hp=9f78cc0059eb023f3d56ca1f3eb46f3332a040ff;hb=5d492ebf7be74446a747c14eefd9e5068e6069b4;hpb=61b270e45616813d5dbca23f559f296b16b9a634 diff --git a/t/011_JavaAccessors_test.t b/t/011_JavaAccessors_test.t index 9f78cc0..9880ead 100644 --- a/t/011_JavaAccessors_test.t +++ b/t/011_JavaAccessors_test.t @@ -3,9 +3,16 @@ use strict; use warnings; -use Test::More tests => 11; +use Test::More; BEGIN { + require Moose; + + plan skip_all => 'Moose::Policy does not work with recent versions of Moose' + if Moose->VERSION >= 1.05; + + plan tests => 11; + use_ok('Moose::Policy'); }