X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fwrap-cgi.t;h=200b106c2f67bd10e0f2a67e12ffc5c4a5d19aa4;hb=01c35d4e8e28f76e22bbdef09935844b1c0e2c12;hp=098ff5eaebf2400b338733bc3e55e61cda784f78;hpb=16db0bfc2b9fb1298fa35bd8e292e23b33e5893d;p=catagits%2FCatalyst-Controller-WrapCGI.git diff --git a/t/wrap-cgi.t b/t/wrap-cgi.t index 098ff5e..200b106 100644 --- a/t/wrap-cgi.t +++ b/t/wrap-cgi.t @@ -36,10 +36,11 @@ $response = request POST '/cgi-bin/test.cgi', 'Content-Type' => 'text/plain', Content => 3 ], + quux => [ undef, quux => Content => 4 ], ], 'Content-Type' => 'form-data'; -is($response->content, 'foo:1 bar:2 baz:3', 'POST with file upload'); +is($response->content, 'foo:1 bar:2 baz:3 quux:4', 'POST with file upload'); $response = request '/cgi-bin/test_pathinfo.cgi/path/%2Finfo'; is($response->content, '/path/%2Finfo', 'PATH_INFO is correct');