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 5, 2019
1 parent b042e7f commit 804e6e4
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 804e6e4

Please sign in to comment.