Do this at runtime, not compile time, so we actually do the tests without
Tomas Doran [Wed, 27 Jul 2011 18:13:40 +0000 (19:13 +0100)]
t/aggregate/unit_core_script_server-without_modules.t

index af9601e..c5588bc 100644 (file)
@@ -16,13 +16,13 @@ use Test::Without::Module qw(
 );
 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;