Skip to content

util: adding a unit test to cover invalid code check in util.deprecate method

Rodrigo Muino Tomonari requested to merge github/fork/akaila/util-tests into master

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

util.deprecate

Merge request reports

Loading