WrapCGI - fix PATH_INFO tests
[catagits/Catalyst-Controller-WrapCGI.git] / t / wrap-cgi.t
index aa253cf..8e01df7 100644 (file)
@@ -19,10 +19,10 @@ my $response = request POST '/cgi-bin/test.cgi', [
 is($response->content, 'foo:bar bar:baz', 'POST to CGI');
 
 $response = request '/cgi-bin/test_pathinfo.cgi/path/%2Finfo';
-is($response->content, '/path//info', 'PATH_INFO is correct');
+is($response->content, '/path/%2Finfo', 'PATH_INFO is correct');
 
 $response = request '/cgi-bin/test_filepathinfo.cgi/path/%2Finfo';
-is($response->content, '/test_filepath_info/path//info',
+is($response->content, '/test_filepath_info/path/%2Finfo',
     'FILEPATH_INFO is correct (maybe)');
 
 $response = request '/cgi-bin/test_scriptname.cgi/foo/bar';