Skip to content

Commit a0681b7

Browse files
jacksonchuiBridgeAR
authored andcommitted
test: removed extraneous argument 's'
PR-URL: #24213 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
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‎

Lines changed: 1 addition & 1 deletion
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
constserver=createServer(common.mustCall((_,res)=>res.end('h')));
10-
server.listen(0,common.mustCall((s)=>{
10+
server.listen(0,common.mustCall(()=>{
1111
constrr=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)