X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faround-does.t;h=55224694a01c6d9126bd8f0932e6244fd3e6b15b;hb=refs%2Ftags%2Fv1.002005;hp=3b36d5d631aecc884ceb75a8dd1d2c15e4faf300;hpb=3b0234be8582485d7a92404904d5befb8cfb1bb3;p=gitmo%2FRole-Tiny.git diff --git a/t/around-does.t b/t/around-does.t index 3b36d5d..5522469 100644 --- a/t/around-does.t +++ b/t/around-does.t @@ -1,5 +1,10 @@ use Test::More; +BEGIN { + plan skip_all => "Class::Method::Modifiers not installed or too old" + unless eval "use Class::Method::Modifiers 1.05; 1"; +} + my $pass; my $pass2; @@ -28,4 +33,4 @@ ok(Local::Class->does('Local::Role')); ok($pass); ok(Local::Class->DOES('Local::Role')); ok($pass2); -done_testing(); \ No newline at end of file +done_testing();