also fix test
@ -59,7 +59,7 @@
"url-parse-lax": "^1.0.0"
},
"devDependencies": {
"ava": "^0.10.0",
"ava": "^0.11.0",
"coveralls": "^2.11.4",
"get-port": "^2.0.0",
"into-stream": "^2.0.0",
@ -127,7 +127,7 @@ test('redirects from http to https works', async t => {
});
test('redirects works with lowercase method', async t => {
const body = (await got(`${s.url}/relative`, {method: 'head'})).body;
const body = (await got(`${http.url}/relative`, {method: 'head'})).body;
t.is(body, '');