Skip to content

doc: add warning to assert.doesNotThrow()

Using assert.doesNotThrow() has no benefit over adding a comment next to some code that should not throw. Therefore it is from now on discouraged to use it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc, assert

Merge request reports

Loading