From d3785941a978530e4f83efda2983d77c12406c79 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 26 Nov 2019 14:02:47 -0800 Subject: [PATCH] test: remove unused function argument from http test Remove unused `res` from test-http-server-consumed-timeout. PR-URL: https://github.com/nodejs/node/pull/30677 Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell --- test/sequential/test-http-server-consumed-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-http-server-consumed-timeout.js b/test/sequential/test-http-server-consumed-timeout.js index 56217226503be1..80b78b2202a016 100644 --- a/test/sequential/test-http-server-consumed-timeout.js +++ b/test/sequential/test-http-server-consumed-timeout.js @@ -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