X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=8a4317f79941a657aee29bb41ac4abbc28c3d69f;hb=993e62a7ae7e1e7711e8f603e69641bd131c47ff;hp=67b0d6f2afe636bd85b87ee4011896766c492f86;hpb=4fd5e34732f16f0dd449799378e9ec22cd93999d;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 67b0d6f..8a4317f 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::Fast } || eval {require Class::Method::Modifiers }) { + plan tests => 4; + } + else { + plan skip_all => "Class::Method::Modifiers required for this test"; + } +} use Test::Exception; my @calls;