Skip to content

Commit fd97bc5

Browse files
committed
test: remove unnecessary body from .mustNotCall
1 parent 4b2b2ea commit fd97bc5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ httpsServer.on('listening', () => {
9393
httpsServer.close();
9494
}));
9595

96-
req.on('error', common.mustNotCall((e) => {
97-
httpsServer.close();
98-
}));
96+
req.on('error', common.mustNotCall());
9997
req.end();
10098
});

0 commit comments

Comments
 (0)