comparison proxy_cache_max_range_offset.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 36437be7b3f4
children
comparison
equal deleted inserted replaced
1250:b708848eb49a 1251:766bcbb632ee
76 } 76 }
77 77
78 EOF 78 EOF
79 79
80 $t->write_file('t.html', 'SEE-THIS'); 80 $t->write_file('t.html', 'SEE-THIS');
81 $t->try_run('no proxy_cache_max_range_offset')->plan(8); 81 $t->run()->plan(8);
82 82
83 ############################################################################### 83 ###############################################################################
84 84
85 unlike(get('/t.html?1', 'bytes=1-'), qr/X-Range/, 'range - below'); 85 unlike(get('/t.html?1', 'bytes=1-'), qr/X-Range/, 'range - below');
86 like(get('/t.html?2', 'bytes=3-'), qr/X-Range/, 'range - above'); 86 like(get('/t.html?2', 'bytes=3-'), qr/X-Range/, 'range - above');