FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: remove unused function argument from http test · nodejs/node@49458de · GitHub

/ node Public

Commit 49458de

Browse files
authored andcommitted
test: remove unused function argument from http test
Remove unused `res` from test-http-server-consumed-timeout. PR-URL: #30677 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 89e2c71 commit 49458de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/sequential/test-http-server-consumed-timeout.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ server.listen(0, common.mustCall(() => {
3131
const req = http.request({
3232
port: server.address().port,
3333
method: 'POST'
34-
}, (res) => {
34+
}, () => {
3535
const interval = setInterval(() => {
3636
intervalWasInvoked = true;
3737
// If machine is busy enough that the interval takes more than TIMEOUT ms

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL