mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: removed extraneous argument 's'
PR-URL: https://github.com/nodejs/node/pull/24213 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
9e82fd26aa
commit
83410d6ac8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user