Browse Source

Remove {agent: false} in tests

Where it is not needed
http2
Vsevolod Strukchinsky 10 years ago
parent
commit
24301d54a6
  1. 4
      test/test-redirects.js

4
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();

Loading…
Cancel
Save