Please sign in to comment.
test: remove message argument from strictEqual()
In test/parallel/test-require-process.js, the last thing in the test is a call to assert.strictEqual(). It has a string literal as its third argument. Unfortunately, that means that the diff between the two values being compared will be suppressed if there is an AssertionError. That's not helpful for debugging. This is fixed by removing the third argument from the call. It is, however, preserved in a comment above the call to assert.strictEqual(). PR-URL: #20912 Fixes: #20911 Refs: https://www.nodetodo.org/getting-started Reviewed-By: Benjamin Gruenbaum <firstname.lastname@example.org> Reviewed-By: Rich Trott <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Trivikram Kamat <email@example.com> Reviewed-By: Tobias Nießen <firstname.lastname@example.org> Reviewed-By: Ujjwal Sharma <email@example.com> Reviewed-By: Ruben Bridgewater <firstname.lastname@example.org>
- Loading branch information...