comparison h2_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 39cfdf581253
children 5b1fa6e32549
comparison
equal deleted inserted replaced
1380:f50c7d90f5c9 1381:97c8280de681
21 ############################################################################### 21 ###############################################################################
22 22
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 my $t = Test::Nginx->new()->has(qw/http http_v2/) 26 my $t = Test::Nginx->new()->has(qw/http http_v2/)->plan(22)
27 ->write_file_expand('nginx.conf', <<'EOF'); 27 ->write_file_expand('nginx.conf', <<'EOF');
28 28
29 %%TEST_GLOBALS%% 29 %%TEST_GLOBALS%%
30 30
31 daemon off; 31 daemon off;
60 EOF 60 EOF
61 61
62 $t->write_file('index.html', 'SEE-THIS'); 62 $t->write_file('index.html', 'SEE-THIS');
63 $t->write_file('empty', ''); 63 $t->write_file('empty', '');
64 $t->write_file('continuation', 'SEE-THIS'); 64 $t->write_file('continuation', 'SEE-THIS');
65 $t->try_run('no add_trailer')->plan(22); 65 $t->run();
66 66
67 ############################################################################### 67 ###############################################################################
68 68
69 my ($s, $sid, $frames, $frame); 69 my ($s, $sid, $frames, $frame);
70 70