test: fix errorMessages regular expressions from crypto-random#14271
test: fix errorMessages regular expressions from crypto-random#14271hacke2 wants to merge 1 commit intonodejs:masterfrom
Conversation
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.
|
Ci was green but canceled before the Pi 1 devices finished to help with our backlog. I think this can land. Seems trivial enough and has enough approval that it could be fast-tracked, but I see @tniessen has self-assigned so I'll let them be the judge of that. I'm OK if we choose to fast-track C + L contributions less than I've been doing the last few hours. |
|
Small change, green CI, 5 approvals, fast-tracking. Landed in 2bbeec7 |
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: nodejs#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>
|
Thanks for the contribution! 🎉 |
|
We should pay more attention to commit messages... This PR was landed with multiple typos ( |
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>
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>
test/parallel/test-catpto-random.jscontains an object callederrorMesssage that contains regular expressions.They are only partially
matching regular expressions. Make them match the entire error message.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
crypto