projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
05aafc1
)
Test::Plack returns the response, no need for gyrations
Christian Walde [Mon, 3 Oct 2011 10:49:19 +0000 (12:49 +0200)]
t/post.t
patch
|
blob
|
blame
|
history
diff --git
a/t/post.t
b/t/post.t
index
c908256
..
24d6086
100644
(file)
--- a/
t/post.t
+++ b/
t/post.t
@@
-30,8
+30,7
@@
my $app = PostTest->new;
sub run_request {
my $request = shift;
- my $response;
- test_psgi($app->to_psgi_app, sub { $response = shift->($request) });
+ my $response = test_psgi($app->to_psgi_app, sub { shift->($request) });
return $response;
}