diff --git a/test/error.js b/test/error.js index 0e4bdf0..2f5efb0 100644 --- a/test/error.js +++ b/test/error.js @@ -27,6 +27,7 @@ test('properties', async t => { t.is(err.protocol, 'http:'); t.is(err.url, err.response.requestUrl); t.is(err.headers.connection, 'close'); + t.is(err.response.body, 'not'); }); test('dns message', async t => {