comparison scgi_cache.t @ 319:e9de4da234c0

Tests: add version checks to TODOs for committed patches.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 25 Jul 2013 18:35:56 +0400
parents 26147426718c
children 847ea345becb
comparison
equal deleted inserted replaced
318:68b94b83412b 319:e9de4da234c0
70 like(http_get('/nolen'), qr/HIT/, 'no length cached'); 70 like(http_get('/nolen'), qr/HIT/, 'no length cached');
71 71
72 like(http_get('/len/empty'), qr/MISS/, 'empty length'); 72 like(http_get('/len/empty'), qr/MISS/, 'empty length');
73 73
74 TODO: { 74 TODO: {
75 local $TODO = 'not yet'; 75 local $TODO = 'not yet' unless $t->has_version('1.5.3');
76 76
77 like(http_get('/len/empty'), qr/HIT/, 'empty length cached'); 77 like(http_get('/len/empty'), qr/HIT/, 'empty length cached');
78 } 78 }
79 79
80 like(http_get('/nolen/empty'), qr/MISS/, 'empty no length'); 80 like(http_get('/nolen/empty'), qr/MISS/, 'empty no length');