Permalink
Browse files

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>
  • Loading branch information...
jacksonchui authored and Trott committed Nov 7, 2018
1 parent 9e82fd2 commit 83410d6ac84e4e85cc4f385461c4f0716fd1f836
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 83410d6

Please sign in to comment.