fixed failing test and maybe travis
[catagits/Catalyst-Runtime.git] / t / aggregate / live_engine_response_emptybody.t
CommitLineData
bcc7361a 1use strict;
2use warnings;
3
4use FindBin;
5use lib "$FindBin::Bin/../lib";
6
7use Test::More;
8use Catalyst::Test 'TestApp';
9
10# body '0'
11{
12 my $res = request('/zerobody');
13 is $res->content, '0';
14 is $res->header('Content-Length'), '1';
15}
16
17# body ''
18{
19 my $res = request('/emptybody');
20 is $res->content, '';
ac057d3b 21 ok !defined $res->header('Content-Length');
bcc7361a 22}
23
24done_testing;
25