From: Tomas Doran Date: Thu, 28 Jul 2011 19:11:34 +0000 (+0100) Subject: Runtime check to skip the plan, ergo need to runtime import X-Git-Tag: 5.89003~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=925f587745ef8fa53a4d7458f67a827a68a04dc3;p=catagits%2FCatalyst-Runtime.git Runtime check to skip the plan, ergo need to runtime import --- diff --git a/t/aggregate/unit_core_script_server-without_modules.t b/t/aggregate/unit_core_script_server-without_modules.t index c5588bc..2fc7772 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -7,13 +7,14 @@ use Try::Tiny; plan skip_all => "Need Test::Without::Module for this test" unless try { require Test::Without::Module; 1 }; -use Test::Without::Module qw( +Test::Without::Module->import(qw( Starman Plack::Handler::Starman MooseX::Daemonize MooseX::Daemonize::Pid::File MooseX::Daemonize::Core -); +)); + require "$Bin/../aggregate/unit_core_script_server.t"; Test::Without::Module->unimport(qw(