Skip to content

Commit 655bda5

Browse files
committed
test: fix http2 shutdown lint regression
1 parent 4dcc244 commit 655bda5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-http2-server-shutdown-options-errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ server.listen(
5858
common.mustCall(() => {
5959
const client = http2.connect(`http://localhost:${server.address().port}`);
6060
const req = client.request();
61-
req.on('error', common.mustCallAtLeast(() => {}, 0));
61+
req.on('error', common.mustCallAtLeast());
6262
req.resume();
6363
req.on('close', common.mustCall(() => {
6464
client.close();

0 commit comments

Comments
 (0)