X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_server-without_modules.t;h=2fc77725f52fb87784c01e8bcadcbe6b52a79330;hb=cfb8879d62b804cb574bf5608dd41cfb87d3559a;hp=a93b213e468a3fa1a62bf0e2afdb56da626b222e;hpb=1a3dd976ad46b71f2eabd3230a393c7a1aa84b6e;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_server-without_modules.t b/t/aggregate/unit_core_script_server-without_modules.t index a93b213..2fc7772 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -2,12 +2,28 @@ use strict; use warnings; use FindBin qw/$Bin/; use Test::More; -use Test::Without::Module qw( +use Try::Tiny; + +plan skip_all => "Need Test::Without::Module for this test" + unless try { require Test::Without::Module; 1 }; + +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( + Starman + Plack::Handler::Starman + MooseX::Daemonize + MooseX::Daemonize::Pid::File + MooseX::Daemonize::Core +)); + +1; +