X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=141534b5737659efd11f60a717c06de8b34c4377;hb=c13900f12aef41dec5bc9661cb720ccb709c9a5b;hp=838adee24951e14f93982886a5fb747b0da95abb;hpb=9458ce953e5a50ba3b5f8ac134a860d6e8f7119f;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 838adee..141534b 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 Mouse::Util ':test'; my @calls;