::Logging::TestLogger package decleration had wrong name
Tyler Riddle [Fri, 7 Dec 2012 17:03:30 +0000 (09:03 -0800)]
lib/Object/Remote/Logging.pm
lib/Object/Remote/Logging/TestLogger.pm
t/chained.t [moved from t/reconnect.t with 100% similarity]

index 58ccfb0..6e74019 100644 (file)
@@ -79,7 +79,7 @@ sub init_logging {
   
   if ($test_logging) {
     require Object::Remote::Logging::TestLogger;
-    router->connect(Object::Remote::Logging::TestOutput->new(
+    router->connect(Object::Remote::Logging::TestLogger->new(
       min_level => 'trace', max_level => 'error',
       level_names => Object::Remote::Logging->arg_levels(),
     ));
index 5d94224..f3bc057 100644 (file)
@@ -1,4 +1,4 @@
-package Object::Remote::Logging::TestOutput;
+package Object::Remote::Logging::TestLogger;
 
 use base qw ( Object::Remote::Logging::Logger );
 
similarity index 100%
rename from t/reconnect.t
rename to t/chained.t