X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=67b0d6f2afe636bd85b87ee4011896766c492f86;hb=c9313657717f78bd96f0325c6aa1c93d0b0d41a5;hp=8daf21f4e2b12eb9abb5b45cc07423d332427b71;hpb=3118622d182add6c88792d5de3b4af047e8a7c8c;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 8daf21f..67b0d6f 100644 --- a/t/403-method-modifiers.t +++ b/t/403-method-modifiers.t @@ -1,16 +1,8 @@ #!/usr/bin/env perl use strict; use warnings; -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 t::Exception; +use Test::More tests => 4; +use Test::Exception; my @calls; my ($before, $after, $around);