Added more documentation and tests
[catagits/HTTP-Request-AsCGI.git] / t / 04io.t
index 029c5a7..3b73013 100644 (file)
--- a/t/04io.t
+++ b/t/04io.t
@@ -14,8 +14,11 @@ $r->content('STDIN');
 $r->content_length(5);
 $r->content_type('text/plain');
 
-my $c = HTTP::Request::AsCGI->new($r);
-$c->stderr(IO::File->new_tmpfile);
+my $c = HTTP::Request::AsCGI->new(
+    request => $r,
+    stderr  => IO::File->new_tmpfile
+);
+
 $c->setup;
 
 print STDOUT 'STDOUT';