diff options
author | Rich Trott <rtrott@gmail.com> | 2019-11-28 23:13:53 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-12-01 02:41:00 -0800 |
commit | 179f6611d59a23df086fc34dc72cc40fc9fdf074 (patch) | |
tree | 6548e919c4c38ca20d33d90acacdc96e352442de | |
parent | 49fb529139ff4b43f472e24f2015482af82446b6 (diff) | |
download | android-node-v8-179f6611d59a23df086fc34dc72cc40fc9fdf074.tar.gz android-node-v8-179f6611d59a23df086fc34dc72cc40fc9fdf074.tar.bz2 android-node-v8-179f6611d59a23df086fc34dc72cc40fc9fdf074.zip |
test: remove unused callback argument
PR-URL: https://github.com/nodejs/node/pull/30712
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
-rw-r--r-- | test/sequential/test-http-max-http-headers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-http-max-http-headers.js b/test/sequential/test-http-max-http-headers.js index 9ee4d8c352..f54d238548 100644 --- a/test/sequential/test-http-max-http-headers.js +++ b/test/sequential/test-http-max-http-headers.js @@ -89,7 +89,7 @@ function test1() { headers = fillHeaders(headers, currentSize); const server = net.createServer((sock) => { - sock.once('data', (chunk) => { + sock.once('data', () => { writeHeaders(sock, headers); sock.resume(); }); |