Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/parallel/test-tls-cert-chains-concat.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
require('../common');
const common = require('../common');
const fixtures = require('../common/fixtures');

// Check cert chain is received by client, and is completed with the ca cert
Expand All @@ -19,7 +19,7 @@ connect({
cert: keys.agent6.cert,
key: keys.agent6.key,
},
}, function(err, pair, cleanup) {
}, common.mustCall((err, pair, cleanup) => {
assert.ifError(err);

const peer = pair.client.conn.getPeerCertificate();
Expand Down Expand Up @@ -47,4 +47,4 @@ connect({
assert.deepStrictEqual(pair.server.conn.getPeerCertificate(true), {});

return cleanup();
});
}));