X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F001_basic.t;h=f83967aeb29abbc3e92ac228fe80899bb481b142;hb=refs%2Fheads%2Fmaster;hp=8554a7d84c9625a9fb4093357602e497ac1ec38c;hpb=61b270e45616813d5dbca23f559f296b16b9a634;p=gitmo%2FMoose-Policy.git diff --git a/t/001_basic.t b/t/001_basic.t index 8554a7d..f83967a 100644 --- a/t/001_basic.t +++ b/t/001_basic.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'); }