projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
refactor HTTP exception check
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestApp
/
Controller
/
ContextClosure.pm
diff --git
a/t/lib/TestApp/Controller/ContextClosure.pm
b/t/lib/TestApp/Controller/ContextClosure.pm
index
8a5cbc8
..
29db7d5
100644
(file)
--- a/
t/lib/TestApp/Controller/ContextClosure.pm
+++ b/
t/lib/TestApp/Controller/ContextClosure.pm
@@
-24,6
+24,11
@@
sub context_closure : Local {
$ctx->response->body('stashed context closure');
}
+sub non_closure : Local {
+ my ($self, $ctx) = @_;
+ $ctx->stash(no_closure => "not a closure");
+}
+
__PACKAGE__->meta->make_immutable;
1;