X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F020_attributes%2F015_attribute_traits.t;h=aaa6ece11799745ff76be515a207ae35a7d72ebc;hp=2c557ca166d3803eff5bcaf42f07d6b98832d392;hb=43e6a50b260b096a34b0c46da87296bd220c4184;hpb=3fbade18e33525b80713bec245f05b5efd0b1fc3 diff --git a/t/020_attributes/015_attribute_traits.t b/t/020_attributes/015_attribute_traits.t index 2c557ca..aaa6ece 100644 --- a/t/020_attributes/015_attribute_traits.t +++ b/t/020_attributes/015_attribute_traits.t @@ -4,15 +4,8 @@ use lib 't/lib'; use strict; use warnings; -use Test::More; -BEGIN{ - if(eval{ require Class::Method::Modifiers::Fast } || eval{ require Class::Method::Modifiers }){ - plan tests => 12; - } - else{ - plan skip_all => 'This test requires Class::Method::Modifiers(::Fast)?'; - } -} +use Test::More tests => 12; + use Test::Exception; use Test::Mouse;