X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=6c316b34696a46d5cd857a0203dd8c232d3f3bd2;hb=ab1a1cce52104e19f86fec43e8ffa9f008041ee5;hp=67b0d6f2afe636bd85b87ee4011896766c492f86;hpb=4fd5e34732f16f0dd449799378e9ec22cd93999d;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 67b0d6f..6c316b3 100644 --- a/t/403-method-modifiers.t +++ b/t/403-method-modifiers.t @@ -1,7 +1,15 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 4; +use Test::More; +BEGIN { + if (eval "require Class::Method::Modifiers; 1") { + plan tests => 4; + } + else { + plan skip_all => "Class::Method::Modifiers required for this test"; + } +} use Test::Exception; my @calls;