Skip to content

Commit

Permalink
test: refactor parallel/test-tls-ca-concat.js
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
juggernaut451 authored and targos committed Mar 27, 2018
1 parent 4532a89 commit 0310df8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-tls-ca-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 ca option can contain concatenated certs by prepending an unrelated
Expand All @@ -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();
});
}));

0 comments on commit 0310df8

Please sign in to comment.