We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15bdf38 commit 1e76a99Copy full SHA for 1e76a99
test/parallel/test-crypto-no-algorithm.js
@@ -22,8 +22,9 @@ if (isMainThread) {
22
if (err) {
23
assert.match(err.message, /digital envelope routines::unsupported/);
24
const expected = /random number generator::unable to fetch drbg/;
25
- assert(err.opensslErrorStack.some((msg) => expected.test(msg)),
26
- `did not find ${expected} in ${err.opensslErrorStack}`);
+ assert(
+ err.opensslErrorStack.some((msg) => msg.match(expected)),
27
+ `did not find ${expected} in ${err.opensslErrorStack}`);
28
}
29
}));
30
0 commit comments