Skip to content

Commit a0681b7

Browse files
jacksonchuiBridgeAR
authored andcommitted
test: removed extraneous argument 's'
PR-URL: #24213 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 2b282e8 commit a0681b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/abort/test-http-parser-consume.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const { spawn } = require('child_process');
77
if (process.argv[2] === 'child') {
88
// sub-process
99
const server = createServer(common.mustCall((_, res) => res.end('h')));
10-
server.listen(0, common.mustCall((s) => {
10+
server.listen(0, common.mustCall(() => {
1111
const rr = get({ port: server.address().port }, common.mustCall(() => {
1212
// This bad input (0) should abort the parser and the process
1313
rr.parser.consume(0);

0 commit comments

Comments
 (0)