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 <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
juggernaut451 authored and BethGriggs committed Dec 3, 2018
1 parent 4db289c commit 146c488
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 146c488

Please sign in to comment.