Mercurial > hg > nginx-tests
diff headers.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 | 9f972a386434 |
children | fcda5bd87ab2 |
line wrap: on
line diff
--- a/headers.t +++ b/headers.t @@ -23,7 +23,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http/) +my $t = Test::Nginx->new()->has(qw/http/)->plan(25) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -111,7 +111,7 @@ EOF $t->write_file('var_inner', ''); $t->write_file('var_modified', ''); -$t->try_run('no add_header always or expires with variable')->plan(25); +$t->run(); ###############################################################################