X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=8a4317f79941a657aee29bb41ac4abbc28c3d69f;hb=4fcab48881ecd200c3d83d563fccda833fdc5c28;hp=8daf21f4e2b12eb9abb5b45cc07423d332427b71;hpb=3118622d182add6c88792d5de3b4af047e8a7c8c;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 8daf21f..8a4317f 100644 --- a/t/403-method-modifiers.t +++ b/t/403-method-modifiers.t @@ -3,14 +3,14 @@ use strict; use warnings; use Test::More; BEGIN { - if (eval "require Class::Method::Modifiers; 1") { + 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 t::Exception; +use Test::Exception; my @calls; my ($before, $after, $around);