Mercurial > hg > nginx-tests
comparison body.t @ 254:0cc5269bc62c
Tests: avoid uninitialized warnings in body.t.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 29 Jan 2013 21:31:16 +0400 |
parents | 8b554d26eb1a |
children | 9f0ed4d54ae3 |
comparison
equal
deleted
inserted
replaced
253:f440a8acbf39 | 254:0cc5269bc62c |
---|---|
120 TODO: { | 120 TODO: { |
121 local $TODO = 'broken by 1.3.9'; | 121 local $TODO = 'broken by 1.3.9'; |
122 | 122 |
123 # proxy with file only | 123 # proxy with file only |
124 | 124 |
125 like(http_get_body('/small', '0123456789'), | 125 like(http_get_body('/small', '0123456789') || '', |
126 qr/X-Body: 0123456789\x0d?$/ms, 'small body in file only'); | 126 qr/X-Body: 0123456789\x0d?$/ms, 'small body in file only'); |
127 | 127 |
128 } | 128 } |
129 | 129 |
130 ############################################################################### | 130 ############################################################################### |