allow uri_for_action to be called with captures and args in a single arrayref
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_server-without_modules.t
index af9601e..2fc7772 100644 (file)
@@ -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;