From c8844bc80d3a8acb7f2c1da62e6fab1b38bfffe3 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] http: removed extraneous argument 's' --- 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);