Add regex to text-crypto-random by NFoxley · Pull Request #10020 · nodejs/node
Checklist
-
make -j8 test(UNIX), orvcbuild test nosign(Windows) passes - tests and/or benchmarks are included
- documentation is changed or added
- commit message follows commit guidelines
Affected core subsystem(s)
Description of change
test: add RegExp as a second argument to assert.throws()
27:5 and 28:5 error assert.throws() should include RegExp as a second argument