Mercurial > hg > nginx-tests
diff server_tokens.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | d737d6606504 |
children | 5f46af4707e7 |
line wrap: on
line diff
--- a/server_tokens.t +++ b/server_tokens.t @@ -87,7 +87,7 @@ http { EOF -$t->try_run('no server_tokens build')->plan(12); +$t->run()->plan(12); ############################################################################### @@ -107,15 +107,10 @@ like(http_body('/on/404'), $re, 'tokens $re = qr/$re \Q($1)\E/ if $t->{_configure_args} =~ /--build=(\S+)/; -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.11.10'); - like(http_get_server('/b/200'), $re, 'tokens build 200'); like(http_get_server('/b/404'), $re, 'tokens build 404'); like(http_body('/b/404'), $re, 'tokens build 404 body'); -} - ############################################################################### sub http_body {