X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F08error.t;fp=t%2F08error.t;h=d611bb43c3eb52ba857d17059c5ef404c5b90526;hb=9c216915d12ea486f286186438c98593c2a3c60b;hp=f1170145a96a7c2f384b1579063f3b2c9e6549e0;hpb=14f243e8c78199aad82785aa32f2f3e5409d9a9b;p=catagits%2FHTTP-Request-AsCGI.git diff --git a/t/08error.t b/t/08error.t index f117014..d611bb4 100644 --- a/t/08error.t +++ b/t/08error.t @@ -13,7 +13,7 @@ my $response; { my $r = HTTP::Request->new( GET => 'http://www.host.com/' ); - my $c = HTTP::Request::AsCGI->new($r); + my $c = HTTP::Request::AsCGI->new( request => $r ); $c->setup; @@ -29,10 +29,10 @@ ok( length($response->content) > 0, 'Response Content' ); { my $r = HTTP::Request->new( GET => 'http://www.host.com/' ); - my $c = HTTP::Request::AsCGI->new($r); + my $c = HTTP::Request::AsCGI->new( request => $r ); $c->setup; - + print "Content-Type: text/plain\n"; print "Status: 500 Borked\n"; print "\n";