test: improve regexps for error checking · nodejs/node@f5e8342 · GitHub
Skip to content

Commit f5e8342

Browse files
hacke2addaleax
authored andcommitted
test: improve regexps for error checking
test/parallel/test-catpto-random.js contains an object called errorMesssage that contains regular expressions.They are only partially matching regular expressions. Make them match the entire error message. PR-URL: #14271 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 337a865 commit f5e8342

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/parallel/test-crypto-random.js

Lines changed: 6 additions & 6 deletions

0 commit comments

Comments
 (0)