diff options
-rw-r--r-- | test/parallel/test-tls-ca-concat.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-tls-ca-concat.js b/test/parallel/test-tls-ca-concat.js index 3b4f3e7db7..efec4e649c 100644 --- a/test/parallel/test-tls-ca-concat.js +++ b/test/parallel/test-tls-ca-concat.js @@ -1,5 +1,5 @@ 'use strict'; -require('../common'); +const common = require('../common'); const fixtures = require('../common/fixtures'); // Check ca option can contain concatenated certs by prepending an unrelated @@ -18,7 +18,7 @@ connect({ cert: keys.agent6.cert, key: keys.agent6.key, }, -}, function(err, pair, cleanup) { +}, common.mustCall((err, pair, cleanup) => { assert.ifError(err); return cleanup(); -}); +})); |