Skip to content

Commit

Permalink
test: removed extraneous argument 's'
Browse files Browse the repository at this point in the history
PR-URL: #24213
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
jacksonchui authored and MylesBorins committed Dec 26, 2018
1 parent 90f9890 commit fc84ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/abort/test-http-parser-consume.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { spawn } = require('child_process');
if (process.argv[2] === 'child') {
// sub-process
const server = createServer(common.mustCall((_, res) => res.end('h')));
server.listen(0, common.mustCall((s) => {
server.listen(0, common.mustCall(() => {
const rr = get({ port: server.address().port }, common.mustCall(() => {
// This bad input (0) should abort the parser and the process
rr.parser.consume(0);
Expand Down

0 comments on commit fc84ccd

Please sign in to comment.