Mercurial > hg > nginx-tests
diff index2.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 200d9d091da2 |
children |
line wrap: on
line diff
--- a/index2.t +++ b/index2.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(1) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -52,7 +52,7 @@ EOF $t->write_file('localhosthtml', 'varbody'); -$t->try_run('unsupported token')->plan(1); +$t->run(); ###############################################################################