X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=67b0d6f2afe636bd85b87ee4011896766c492f86;hb=f9aca0f35658e5e0657e8ce78b783c0185d59969;hp=141534b5737659efd11f60a717c06de8b34c4377;hpb=c13900f12aef41dec5bc9661cb720ccb709c9a5b;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 141534b..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 Mouse::Util ':test'; +use Test::More tests => 4; +use Test::Exception; my @calls; my ($before, $after, $around);