test: add second argument to assert.throws()
Adds a second argument to the assert.throws() test to implicitly specify expected error message.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test