[Catalyst-commits] r12579 -
Catalyst-Runtime/5.80/branches/psgi/t/aggregate
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sat Jan 9 21:21:22 GMT 2010
Author: rafl
Date: 2010-01-09 21:21:21 +0000 (Sat, 09 Jan 2010)
New Revision: 12579
Modified:
Catalyst-Runtime/5.80/branches/psgi/t/aggregate/live_component_controller_action_streaming.t
Log:
Remove outdated comment and some trailing whitespace.
Modified: Catalyst-Runtime/5.80/branches/psgi/t/aggregate/live_component_controller_action_streaming.t
===================================================================
--- Catalyst-Runtime/5.80/branches/psgi/t/aggregate/live_component_controller_action_streaming.t 2010-01-09 21:16:46 UTC (rev 12578)
+++ Catalyst-Runtime/5.80/branches/psgi/t/aggregate/live_component_controller_action_streaming.t 2010-01-09 21:21:21 UTC (rev 12579)
@@ -29,18 +29,17 @@
ok( my $response = request('http://localhost/streaming'), 'Request' );
ok( $response->is_success, 'Response Successful 2xx' );
is( $response->content_type, 'text/plain', 'Response Content-Type' );
-
+
SKIP:
{
if ( $ENV{CATALYST_SERVER} ) {
skip "Using remote server", 1;
}
-
- # XXX: Length should be undef here, but HTTP::Request::AsCGI sets it
+
ok(!defined $response->content_length, 'No Content-Length for streaming responses');
is(length $response->content, 12, 'Response content' );
}
-
+
is( $response->content,, <<'EOF', 'Content is a stream' );
foo
bar
More information about the Catalyst-commits
mailing list