Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: remove third argument from assert.strictEqual()
`test/parallel/test-util-inspect.js` has a call to `assert.strictEqual()` that receives three arguments. The third argument is a string literal. Unfortunately, calling assert.strictEqual() this way means that if there is an AssertionError, the value of the variables pos and npos are not reported. This PR removes this argument. PR-URL: #22371 Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Trivikram Kamat <firstname.lastname@example.org> Reviewed-By: Jon Moss <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: George Adams <email@example.com>
- Loading branch information