converting the engines. i had to add use NEXT to some of the test files to make it...
[catagits/Catalyst-Runtime.git] / t / lib / Catalyst / Plugin / Test / Errors.pm
index 92fa63c..f5212e3 100644 (file)
@@ -1,6 +1,7 @@
 package Catalyst::Plugin::Test::Errors;
 
 use strict;
+use NEXT;
 
 sub error {
     my $c = shift;
@@ -12,10 +13,10 @@ sub error {
     if ( $_[0] =~ /^(Unknown resource|No default action defined)/ ) {
         $c->response->status(404);
     }
-    
+
     if ( $_[0] =~ /^Couldn\'t forward/ ) {
         $c->response->status(404);
-    }    
+    }
 
     if ( $_[0] =~ /^Caught exception/ ) {
         $c->response->status(500);