From: 大沢 和宏 Date: Wed, 3 Dec 2008 04:13:27 +0000 (+0000) Subject: SKIP test case "Class::Method::Modifiers required for this test" X-Git-Tag: 0.19~136^2~63 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=78b163fb6086e794180c5dbee9456371a408a646;p=gitmo%2FMouse.git SKIP test case "Class::Method::Modifiers required for this test" --- diff --git a/t/000-recipes/001_point.t b/t/000-recipes/001_point.t index 3b7831d..450055c 100644 --- a/t/000-recipes/001_point.t +++ b/t/000-recipes/001_point.t @@ -3,7 +3,16 @@ use strict; use warnings; -use Test::More tests => 58; +use Test::More; +BEGIN { + if (eval "require Class::Method::Modifiers; 1") { + plan tests => 58; + } + else { + plan skip_all => "Class::Method::Modifiers required for this test"; + } +} + use Mouse::Util; use t::Exception;