Skip to content

Commit 10e9225

Browse files
haramjdaeyeon
andauthored
Update test/parallel/test-tls-get-ca-certificates-bundled.js
Co-authored-by: Daeyeon Jeong <[email protected]>
1 parent da83ccf commit 10e9225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-tls-get-ca-certificates-bundled.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const assert = require('assert');
88
const tls = require('tls');
99
const { assertIsCAArray } = require('../common/tls');
1010

11-
const certs = tls.getCACertificates({ type: 'bundled', format: 'string' });
11+
const certs = tls.getCACertificates('bundled');
12+
assert.deepStrictEqual(certs, tls.getCACertificates({ type: 'bundled', format: 'pem' }));
1213
assertIsCAArray(certs);
1314

1415
assert.deepStrictEqual(certs, tls.rootCertificates);

0 commit comments

Comments
 (0)