Mercurial > hg > nginx-tests
diff not_modified.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | d5bf5942a8b2 |
children | e9064d691790 |
line wrap: on
line diff
--- a/not_modified.t +++ b/not_modified.t @@ -79,14 +79,7 @@ like(http_get_inm('/t', '"foo"'), qr/ 20 like(http_get_inm('/t', '"foo", "bar", ' . $etag . ' , "baz"'), qr/ 304 /, 'if-none-match with complex list'); like(http_get_inm('/t', '*'), qr/ 304 /, 'if-none-match all'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.7.3'); - like(http_get_inm('/t', 'W/' . $etag), qr/ 304 /, 'if-none-match weak'); - -} - like(http_get_im('/t', $etag), qr/ 200 /, 'if-match'); like(http_get_im('/t', '"foo"'), qr/ 412 /, 'if-match fail'); like(http_get_im('/t', '"foo", "bar", ' . "\t" . $etag . ' , "baz"'),