(length)
| 1032 | } |
| 1033 | |
| 1034 | function shouldHaveBodyLength (length) { |
| 1035 | return function (res) { |
| 1036 | assert.strictEqual(res.text.length, length, 'should have body length of ' + length) |
| 1037 | } |
| 1038 | } |
| 1039 | |
| 1040 | function shouldNotHaveHeader (header) { |
| 1041 | return function (res) { |