From: John Napiorkowski Date: Thu, 26 Mar 2015 14:05:31 +0000 (-0500) Subject: skip test if no Type::Tiny X-Git-Tag: 5.90089_002~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=ea3943b8502b58fd5d293948c473a7a330c9d075;hp=cbe1376093c9b39392c907e2444f3044de091877 skip test if no Type::Tiny --- diff --git a/t/arg_constraints.t b/t/arg_constraints.t index 505d069..fada01b 100644 --- a/t/arg_constraints.t +++ b/t/arg_constraints.t @@ -4,10 +4,12 @@ use HTTP::Request::Common; BEGIN { use Test::More; - eval "use Types::Standard; use Type::Utils; use Type::Library; 1;" || do { - plan skip_all => "Trouble loading Types::Standard => $@"; + eval "use Type::Tiny; 1" || do { + plan skip_all => "Trouble loading Type::Tiny and friends => $@"; }; +} +BEGIN { package MyApp::Types; $INC{'MyApp/Types.pm'} = __FILE__;