From a0681b7211e9ff684de42fb52043837e95aad591 Mon Sep 17 00:00:00 2001 From: Jackson Chui <14085209+haiXchuus@users.noreply.github.com> Date: Tue, 6 Nov 2018 20:23:08 -0800 Subject: [PATCH] test: removed extraneous argument 's' PR-URL: https://github.com/nodejs/node/pull/24213 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- test/abort/test-http-parser-consume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/abort/test-http-parser-consume.js b/test/abort/test-http-parser-consume.js index 673e04cfa3a573..13dc93874a226f 100644 --- a/test/abort/test-http-parser-consume.js +++ b/test/abort/test-http-parser-consume.js @@ -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);