put Catalyst::Plugin::Test::MangleDollarUnderScore into a better namespace
Justin Hunter [Fri, 29 May 2009 01:12:43 +0000 (01:12 +0000)]
t/aggregate/live_plugin_loaded.t
t/lib/Catalyst/Plugin/Test/MangleDollarUnderScore.pm [moved from t/lib/Catalyst/Plugin/MangleDollarUnderScore.pm with 84% similarity]
t/lib/TestApp.pm
t/unit_core_plugin.t

index d5fc317..6795043 100644 (file)
@@ -10,10 +10,10 @@ use Test::More tests => 5;
 use Catalyst::Test 'TestApp';
 
 my @expected = qw[
-  Catalyst::Plugin::MangleDollarUnderScore
   Catalyst::Plugin::Test::Errors
   Catalyst::Plugin::Test::Headers
   Catalyst::Plugin::Test::Inline
+  Catalyst::Plugin::Test::MangleDollarUnderScore
   Catalyst::Plugin::Test::Plugin
   TestApp::Plugin::AddDispatchTypes
   TestApp::Plugin::FullyQualified
@@ -1,4 +1,4 @@
-package Catalyst::Plugin::MangleDollarUnderScore;
+package Catalyst::Plugin::Test::MangleDollarUnderScore;
 use strict;
 use warnings;
 
index 0d03647..e9e7e59 100644 (file)
@@ -2,7 +2,7 @@ package TestApp;
 
 use strict;
 use Catalyst qw/
-    MangleDollarUnderScore
+    Test::MangleDollarUnderScore
     Test::Errors 
     Test::Headers 
     Test::Plugin
index 09bcfa1..cb48159 100644 (file)
@@ -42,10 +42,10 @@ is( $warnings, 1, '1 warning' );
 
 use_ok 'TestApp';
 my @expected = qw(
-  Catalyst::Plugin::MangleDollarUnderScore
   Catalyst::Plugin::Test::Errors
   Catalyst::Plugin::Test::Headers
   Catalyst::Plugin::Test::Inline
+  Catalyst::Plugin::Test::MangleDollarUnderScore
   Catalyst::Plugin::Test::Plugin
   TestApp::Plugin::AddDispatchTypes
   TestApp::Plugin::FullyQualified