Mercurial > hg > nginx-tests
diff scgi_body.t @ 242:8f280348d76f
Tests: add has_version() method and use it as appropriate.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Nov 2012 03:47:31 +0400 |
parents | 462d89f5732a |
children | 6a0d934950bc |
line wrap: on
line diff
--- a/scgi_body.t +++ b/scgi_body.t @@ -63,7 +63,7 @@ like(http_get_length('/', ''), qr/X-Body like(http_get_length('/', 'foobar'), qr/X-Body: foobar/, 'scgi body'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.3.9'); like(http(<<EOF), qr/X-Body: foobar/, 'scgi chunked'); GET / HTTP/1.1