test: refactor test-crypto-timing-safe-equal
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test, crypto
Description of change
Add RegExp arguments to throws assertions.