X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F403-method-modifiers.t;h=6c316b34696a46d5cd857a0203dd8c232d3f3bd2;hb=3a63a2e7ef8fbac5f61eab04baecbf5d19374b83;hp=838adee24951e14f93982886a5fb747b0da95abb;hpb=8c831d08b0d23c9dfcc4a85f6444915c988b5538;p=gitmo%2FMouse.git diff --git a/t/403-method-modifiers.t b/t/403-method-modifiers.t index 838adee..6c316b3 100644 --- a/t/403-method-modifiers.t +++ b/t/403-method-modifiers.t @@ -1,8 +1,16 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 4; -use Mouse::Util ':test'; +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 Test::Exception; my @calls; my ($before, $after, $around);