diff fastcgi.t @ 491:d5bf5942a8b2

Tests: disambiguated parsing of the status code.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 07 Nov 2014 13:05:07 +0300
parents 6fe0459b6668
children d95c4b8e5517
line wrap: on
line diff
--- a/fastcgi.t
+++ b/fastcgi.t
@@ -57,7 +57,7 @@ EOF
 ###############################################################################
 
 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request');
-like(http_get('/redir'), qr/302/, 'fastcgi redirect');
+like(http_get('/redir'), qr/ 302 /, 'fastcgi redirect');
 like(http_get('/'), qr/^3$/m, 'fastcgi third request');
 
 unlike(http_head('/'), qr/SEE-THIS/, 'no data in HEAD');