Tests: caching of empty responses fixed in 1.1.5, remove TODO.
diff --git a/proxy_cache.t b/proxy_cache.t index dbfb860..9eeb8ab 100644 --- a/proxy_cache.t +++ b/proxy_cache.t
@@ -99,24 +99,16 @@ like(http_get('/empty.html'), qr/HTTP/, 'empty get first'); like(http_get('/empty.html'), qr/HTTP/, 'empty get second'); -{ -local $TODO = 'not fixed yet'; - sleep(2); unlink $t->testdir() . '/t.html'; like(http_gzip_request('/t.html'), qr/HTTP.*1c\x0d\x0a.{28}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'non-empty get stale'); -} - -{ -local $TODO = 'broken in 0.8.31'; unlink $t->testdir() . '/empty.html'; like(http_gzip_request('/empty.html'), qr/HTTP.*14\x0d\x0a.{20}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'empty get stale'); -} { local $TODO = 'patch pending';