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