Skip to content

Commit a51ab9e

Browse files
committed
also fix test
1 parent 99c8ee9 commit a51ab9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"url-parse-lax": "^1.0.0"
6060
},
6161
"devDependencies": {
62-
"ava": "^0.10.0",
62+
"ava": "^0.11.0",
6363
"coveralls": "^2.11.4",
6464
"get-port": "^2.0.0",
6565
"into-stream": "^2.0.0",

test/redirects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ test('redirects from http to https works', async t => {
127127
});
128128

129129
test('redirects works with lowercase method', async t => {
130-
const body = (await got(`${s.url}/relative`, {method: 'head'})).body;
130+
const body = (await got(`${http.url}/relative`, {method: 'head'})).body;
131131
t.is(body, '');
132132
});
133133

0 commit comments

Comments
 (0)