comparison proxy_cache.t @ 224:ba992cfdc606

Tests: remove TODO from tests which pass in 1.2.x.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 03 Jun 2012 14:47:10 +0400
parents f9325406df0b
children 1a5574d84917
comparison
equal deleted inserted replaced
223:f9325406df0b 224:ba992cfdc606
110 unlink $t->testdir() . '/empty.html'; 110 unlink $t->testdir() . '/empty.html';
111 like(http_gzip_request('/empty.html'), 111 like(http_gzip_request('/empty.html'),
112 qr/HTTP.*14\x0d\x0a.{20}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 112 qr/HTTP.*14\x0d\x0a.{20}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s,
113 'empty get stale'); 113 'empty get stale');
114 114
115 {
116 local $TODO = 'patch pending';
117
118 http_get('/fake/unfinished'); 115 http_get('/fake/unfinished');
119 like(http_get('/fake/unfinished'), qr/unfinished 2/, 'unfinished not cached'); 116 like(http_get('/fake/unfinished'), qr/unfinished 2/, 'unfinished not cached');
120 }
121 117
122 ############################################################################### 118 ###############################################################################
123 119
124 sub http_get_range { 120 sub http_get_range {
125 my ($url, $extra) = @_; 121 my ($url, $extra) = @_;