Skip to content

Commit

Permalink
test: remove unused callback argument
Browse files Browse the repository at this point in the history
PR-URL: #30712
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Dec 17, 2019
1 parent ce6a865 commit 276741a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-http-max-http-headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function test1() {
headers = fillHeaders(headers, currentSize);

const server = net.createServer((sock) => {
sock.once('data', (chunk) => {
sock.once('data', () => {
writeHeaders(sock, headers);
sock.resume();
});
Expand Down

0 comments on commit 276741a

Please sign in to comment.