X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F020_SingleInheritence_test.t;h=772f34dac38609147563cd2b848b06e2a3a5bc0f;hb=HEAD;hp=ba69bd9b2114a44d1688f94e3f8894adcafdda99;hpb=09eff61e69700c952ff66a56e7ee1b20535654fa;p=gitmo%2FMoose-Policy.git diff --git a/t/020_SingleInheritence_test.t b/t/020_SingleInheritence_test.t index ba69bd9..772f34d 100644 --- a/t/020_SingleInheritence_test.t +++ b/t/020_SingleInheritence_test.t @@ -3,10 +3,17 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More; use Test::Exception; BEGIN { + require Moose; + + plan skip_all => 'Moose::Policy does not work with recent versions of Moose' + if Moose->VERSION >= 1.05; + + plan tests => 2; + use_ok('Moose::Policy'); }