Permalink
Browse files

remove Test::use::ok

  • Loading branch information...
1 parent 19ebfcc commit de938bf4410615800f1ea7f020d403cdaed9da3a @arcanez committed Jan 25, 2012
Showing with 18 additions and 12 deletions.
  1. +5 −5 t/01_load.t
  2. +4 −2 t/02_basic.t
  3. +4 −2 t/03_stubborn.t
  4. +5 −3 t/04_global_restart_policy.t
View
@@ -5,9 +5,9 @@ use warnings;
use Test::More 'no_plan';
-use ok 'POE::Component::Supervisor::Supervised';
-use ok 'POE::Component::Supervisor::Handle';
-use ok 'POE::Component::Supervisor';
+use_ok 'POE::Component::Supervisor::Supervised';
+use_ok 'POE::Component::Supervisor::Handle';
+use_ok 'POE::Component::Supervisor';
-use ok 'POE::Component::Supervisor::Handle::Proc';
-use ok 'POE::Component::Supervisor::Supervised::Proc';
+use_ok 'POE::Component::Supervisor::Handle::Proc';
+use_ok 'POE::Component::Supervisor::Supervised::Proc';
View
@@ -9,8 +9,10 @@ use Log::Dispatch::Config::TestLog;
use Test::More 'no_plan';
-use ok 'POE::Component::Supervisor';
-use ok 'POE::Component::Supervisor::Supervised::Proc';
+BEGIN {
+use_ok 'POE::Component::Supervisor';
+use_ok 'POE::Component::Supervisor::Supervised::Proc';
+}
use POE;
View
@@ -9,8 +9,10 @@ use Log::Dispatch::Config::TestLog;
use Test::More 'no_plan';
-use ok 'POE::Component::Supervisor';
-use ok 'POE::Component::Supervisor::Supervised::Proc';
+BEGIN {
+use_ok 'POE::Component::Supervisor';
+use_ok 'POE::Component::Supervisor::Supervised::Proc';
+}
use POE;
@@ -9,9 +9,11 @@ use Log::Dispatch::Config::TestLog;
use Test::More 'no_plan';
-use ok 'POE::Component::Supervisor';
-use ok 'POE::Component::Supervisor::Supervised::Proc';
-use ok 'POE::Component::Supervisor::Supervised::Session';
+BEGIN {
+use_ok 'POE::Component::Supervisor';
+use_ok 'POE::Component::Supervisor::Supervised::Proc';
+use_ok 'POE::Component::Supervisor::Supervised::Session';
+}
use POE;

0 comments on commit de938bf

Please sign in to comment.