X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FContextClosure.pm;h=8a5cbc820687c240212fdc3ffe367b1896a68286;hb=10e970e4efdf69f9cd023b93016514f7668b54f7;hp=c81ffc944576ed5c011aa1377d3a517a618cd94a;hpb=d9d8aa5102e2b961d4f5f0bdd76d9dbcbcefc1dd;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/ContextClosure.pm b/t/lib/TestApp/Controller/ContextClosure.pm index c81ffc9..8a5cbc8 100644 --- a/t/lib/TestApp/Controller/ContextClosure.pm +++ b/t/lib/TestApp/Controller/ContextClosure.pm @@ -18,6 +18,7 @@ sub normal_closure : Local { sub context_closure : Local { my ($self, $ctx) = @_; $ctx->stash(closure => $self->make_context_closure(sub { + my ($ctx) = @_; $ctx->response->body('from context closure'); }, $ctx)); $ctx->response->body('stashed context closure');