| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f21ddb2 commit 5047006
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,7 +169,8 @@ for (const options of bad) { | |||
| 169 | 169 | ||
| 170 | 170 | for (const options of toobig) { | |
| 171 | 171 | const expected = { | |
| 172 | - message: /error:[^:]+:digital envelope routines:EVP_PBE_scrypt:memory limit exceeded/, | ||
| 172 | + message: new RegExp('error:[^:]+:digital envelope routines:' + | ||
| 173 | + '(?:EVP_PBE_scrypt|scrypt_alg):memory limit exceeded'), | ||
| 173 | 174 | type: Error, | |
| 174 | 175 | }; | |
| 175 | 176 | common.expectsError(() => crypto.scrypt('pass', 'salt', 1, options, () => {}), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments