Skip to content

[v8.x backport] tools, test: forbid string literal as third argument for assert.strictEqual() and friends

Backport of https://github.com/nodejs/node/pull/22849.

This backport does not preserve the lint rule (because it would result in 121 lint warnings in the v8.x code base), but preserves all the relevant changes to tests due to the lint rule.

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