comparison trailers.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 ae3a46305e38
children
comparison
equal deleted inserted replaced
1380:f50c7d90f5c9 1381:97c8280de681
22 ############################################################################### 22 ###############################################################################
23 23
24 select STDERR; $| = 1; 24 select STDERR; $| = 1;
25 select STDOUT; $| = 1; 25 select STDOUT; $| = 1;
26 26
27 my $t = Test::Nginx->new()->has(qw/http proxy/) 27 my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(17)
28 ->write_file_expand('nginx.conf', <<'EOF'); 28 ->write_file_expand('nginx.conf', <<'EOF');
29 29
30 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
31 31
32 daemon off; 32 daemon off;
75 75
76 EOF 76 EOF
77 77
78 $t->write_file('t1', 'SEE-THIS'); 78 $t->write_file('t1', 'SEE-THIS');
79 $t->write_file('header', ''); 79 $t->write_file('header', '');
80 $t->try_run('no add_trailer')->plan(17); 80 $t->run();
81 81
82 ############################################################################### 82 ###############################################################################
83 83
84 my $r; 84 my $r;
85 85