node/test/addons/report-fatalerror
Anna Henningsen 4b289d047d
test: expand linting rules around assert w literal messages
Expands the existing restrictions around not using literal messages
to the `not` variants of `strictEqual` and `deepStrictEqual`, and
forbids `assert()` where the second argument is a non-string literal,
which almost always is a mis-typed `assert.strictEquals()`.

PR-URL: https://github.com/nodejs/node/pull/59147
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2025-07-23 16:28:06 +00:00
..
binding.cc test: fix -Wunused-variable on report-fatalerror 2022-12-08 00:00:45 +00:00
binding.gyp
test.js test: expand linting rules around assert w literal messages 2025-07-23 16:28:06 +00:00