projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
whitespace cleanup
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestAppOnDemand
/
Controller
/
Body.pm
diff --git
a/t/lib/TestAppOnDemand/Controller/Body.pm
b/t/lib/TestAppOnDemand/Controller/Body.pm
index
bbf3c88
..
4ee9e0f
100644
(file)
--- a/
t/lib/TestAppOnDemand/Controller/Body.pm
+++ b/
t/lib/TestAppOnDemand/Controller/Body.pm
@@
-25,16
+25,16
@@
sub params : Local {
sub read : Local {
my ( $self, $c ) = @_;
-
+
# read some data
my @chunks;
-
+
while ( my $data = $c->read( 10_000 ) ) {
push @chunks, $data;
}
$c->res->content_type( 'text/plain');
-
+
$c->res->body( join ( '|', map { length $_ } @chunks ) );
}