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 Trott committed Nov 9, 2018
1 parent 9e82fd2 commit 83410d6
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 83410d6

Please sign in to comment.