test: added validation regex argument to test
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
In this change, I've added the regex pattern to the assert.throws() in order to provide the validation argument for the call.