From 24301d54a67087c76d5adf6e951b3e0295e66622 Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Tue, 30 Dec 2014 21:16:56 +0500 Subject: [PATCH] Remove {agent: false} in tests Where it is not needed --- test/test-redirects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-redirects.js b/test/test-redirects.js index 0508d8c..c6cdc11 100644 --- a/test/test-redirects.js +++ b/test/test-redirects.js @@ -38,7 +38,7 @@ tape('setup', function (t) { }); tape('follows redirect', function (t) { - got(s.url + '/finite', {agent: false}, function (err, data) { + got(s.url + '/finite', function (err, data) { t.error(err); t.equal(data, 'reached'); t.end(); @@ -46,7 +46,7 @@ tape('follows redirect', function (t) { }); tape('follows relative redirect', function (t) { - got(s.url + '/relative', {agent: false}, function (err, data) { + got(s.url + '/relative', function (err, data) { t.error(err); t.equal(data, 'reached'); t.end();