We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d52a57 commit 2eeda3fCopy full SHA for 2eeda3f
test/parallel/test-crypto-getcipherinfo.js
@@ -16,12 +16,12 @@ const ciphers = getCiphers();
16
assert.strictEqual(getCipherInfo(-1), undefined);
17
assert.strictEqual(getCipherInfo('cipher that does not exist'), undefined);
18
19
-ciphers.forEach((cipher) => {
+for (const cipher of ciphers) {
20
const info = getCipherInfo(cipher);
21
assert(info);
22
const info2 = getCipherInfo(info.nid);
23
assert.deepStrictEqual(info, info2);
24
-});
+}
25
26
const info = getCipherInfo('aes-128-cbc');
27
assert.strictEqual(info.name, 'aes-128-cbc');
0 commit comments