Skip to content

Commit 99e4a57

Browse files
li-boxuantargos
authored andcommitted
test: add mustCall to openssl-client-cert-engine
PR-URL: #27474 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent fd17f37 commit 99e4a57

File tree

1 file changed

+3
-3
lines changed
  • test/addons/openssl-client-cert-engine

1 file changed

+3
-3
lines changed

test/addons/openssl-client-cert-engine/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ const serverOptions = {
2929
rejectUnauthorized: true
3030
};
3131

32-
const server = https.createServer(serverOptions, (req, res) => {
32+
const server = https.createServer(serverOptions, common.mustCall((req, res) => {
3333
res.writeHead(200);
3434
res.end('hello world');
35-
}).listen(0, common.localhostIPv4, () => {
35+
})).listen(0, common.localhostIPv4, common.mustCall(() => {
3636
const clientOptions = {
3737
method: 'GET',
3838
host: common.localhostIPv4,
@@ -57,4 +57,4 @@ const server = https.createServer(serverOptions, (req, res) => {
5757
}));
5858

5959
req.end();
60-
});
60+
}));

0 commit comments

Comments
 (0)