Skip to content

Commit 54bf849

Browse files
committed
remove unused vars
1 parent 4043fbb commit 54bf849

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/test-submit-url-parsing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ var form = new FormData();
1111
form.append('field', 'value');
1212

1313
// Basic parsing
14-
req = form.submit('http://localhost:' + common.port + '/path', function(err, res) {});
14+
req = form.submit('http://localhost:' + common.port + '/path', function() {});
1515
assert.strictEqual(req.path, '/path');
1616
assert.strictEqual(req.agent.protocol, 'http:');
1717
assert.strictEqual(req.getHeader('Host'), 'localhost:' + common.port);
1818
req.abort();
1919

2020
// HTTPS protocol handling
21-
req = form.submit('https://localhost:' + common.port + '/path', function(err, res) {});
21+
req = form.submit('https://localhost:' + common.port + '/path', function() {});
2222
assert.strictEqual(req.agent.protocol, 'https:');
2323
req.abort();
2424

0 commit comments

Comments
 (0)