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=0cff119a540a3c8961750bd499f4c470771ac342;hp=af9601e6add2222d8ccfc5cc11d3d7f4f5a76bb5;hpb=1b4b5aa5c77c42e7609089ea97d06779c2c22770;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 af9601e..2fc7772 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -7,22 +7,23 @@ 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"; -no Test::Without::Module qw( +Test::Without::Module->unimport(qw( Starman Plack::Handler::Starman MooseX::Daemonize MooseX::Daemonize::Pid::File MooseX::Daemonize::Core -); +)); 1;