Skip to content

Commit

Permalink
test: remove unused function argument from http test
Browse files Browse the repository at this point in the history
Remove unused `res` from test-http-server-consumed-timeout.

PR-URL: #30677
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Nov 30, 2019
1 parent 89e2c71 commit 49458de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-http-server-consumed-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ server.listen(0, common.mustCall(() => {
const req = http.request({
port: server.address().port,
method: 'POST'
}, (res) => {
}, () => {
const interval = setInterval(() => {
intervalWasInvoked = true;
// If machine is busy enough that the interval takes more than TIMEOUT ms
Expand Down

0 comments on commit 49458de

Please sign in to comment.