diff fastcgi_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/fastcgi_body.t
+++ b/fastcgi_body.t
@@ -63,7 +63,7 @@ like(http_get_length('/', ''), qr/X-Body
 like(http_get_length('/', 'foobar'), qr/X-Body: foobar/, 'fastcgi body');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.3.9');
 
 like(http(<<EOF), qr/X-Body: foobar/, 'fastcgi chunked');
 GET / HTTP/1.1