util: adding a unit test to cover invalid code check in util.deprecate method
Added a simple unit test that checks for assertion being thrown if code argument within util.deprecate method call is not a valid string (or undefined). This was a test gap as observed in the coverage file.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
util.deprecate