Please sign in to comment.
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 <email@example.com> Reviewed-By: Luigi Pinca <firstname.lastname@example.org> Reviewed-By: Trivikram Kamat <email@example.com> Reviewed-By: Jon Moss <firstname.lastname@example.org> Reviewed-By: Rich Trott <email@example.com> Reviewed-By: George Adams <firstname.lastname@example.org>
- Loading branch information...