Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove Test::use::ok

  • Loading branch information...
commit de938bf4410615800f1ea7f020d403cdaed9da3a 1 parent 19ebfcc
@arcanez authored
View
10 t/01_load.t
@@ -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
6 t/02_basic.t
@@ -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
6 t/03_stubborn.t
@@ -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
8 t/04_global_restart_policy.t
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.