Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc84ccd

Browse filesBrowse files
jacksonchuiMylesBorins
authored andcommitted
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>
1 parent 90f9890 commit fc84ccd
Copy full SHA for fc84ccd

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/abort/test-http-parser-consume.js‎

Copy file name to clipboardExpand all lines: test/abort/test-http-parser-consume.js
+1-1Lines 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
const server = createServer(common.mustCall((_, res) => res.end('h')));
10-
server.listen(0, common.mustCall((s) => {
10+
server.listen(0, common.mustCall(() => {
1111
const rr = 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.