Skip to content

Commit 0310df8

Browse files
juggernaut451targos
authored andcommitted
test: refactor parallel/test-tls-ca-concat.js
PR-URL: #19092 Fixes: #14544 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4532a89 commit 0310df8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-tls-ca-concat.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const fixtures = require('../common/fixtures');
44

55
// Check ca option can contain concatenated certs by prepending an unrelated
@@ -18,7 +18,7 @@ connect({
1818
cert: keys.agent6.cert,
1919
key: keys.agent6.key,
2020
},
21-
}, function(err, pair, cleanup) {
21+
}, common.mustCall((err, pair, cleanup) => {
2222
assert.ifError(err);
2323
return cleanup();
24-
});
24+
}));

0 commit comments

Comments
 (0)