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 targos committed Dec 2, 2019
1 parent 9ec53cf commit 01ab031
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 @@ -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();
});
Expand Down

0 comments on commit 01ab031

Please sign in to comment.