Skip to content

assert: remove deprecated `assert.fail()` functionality

This removes the assert.fail() signature with more than one argument.

It is runtime deprecated since v10 and even if the old signature is continued to be used, it'll work similar to before: it will fail but it'll have a different error message.

This should land after https://github.com/nodejs/node/pull/27525 to reduce conflicts backporting the other PR.

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

Merge request reports

Loading