Please sign in to comment.
test: remove ambiguous error messages from test_error
assert.strictEqual accepts 3 arguments, the last of which allows for user-specified error message to be thrown when the assertion fails. Unfortunately, this error message is less helpful than the default when it is vague. This commit removes vague, user-specified error messages, instead relying on clearer, default error messages. PR-URL: #17812 Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Jon Moss <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: Ruben Bridgewater <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com>
- Loading branch information...
Showing with 12 additions and 34 deletions.