X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FACLTestApp.pm;h=5c6aadbe671f54b298baaca90a5f99f45bf61014;hp=2b7a010acaa9951e9dc45ca71b70590bdbe24bcb;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=4fb27043578a31f1ffd7498d1097c817a932d173 diff --git a/t/lib/ACLTestApp.pm b/t/lib/ACLTestApp.pm index 2b7a010..5c6aadb 100644 --- a/t/lib/ACLTestApp.pm +++ b/t/lib/ACLTestApp.pm @@ -17,8 +17,8 @@ sub execute { my ( $class, $action ) = @_; if ( Scalar::Util::blessed($action) - and $action->name ne "foobar" ) { - eval { $c->detach( 'foobar', [$action, 'foo'] ) }; + and $action->name ne "foobar" ) { + eval { $c->detach( 'foobar', [$action, 'foo'] ) }; } $c->next::method( @_ );