We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
common.mustNotCall()
1 parent 7bd7328 commit 546fc68Copy full SHA for 546fc68
test/sequential/test-http-max-http-headers.js
@@ -96,7 +96,7 @@ function test1() {
96
97
server.listen(0, common.mustCall(() => {
98
const port = server.address().port;
99
- const client = http.get({ port: port }, common.mustNotCall(() => {}));
+ const client = http.get({ port: port }, common.mustNotCall());
100
101
client.on('error', common.mustCall((err) => {
102
assert.strictEqual(err.code, 'HPE_HEADER_OVERFLOW');
0 commit comments