-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: removed unhelpful message from assert.strictEqual() calls #19525
Conversation
Converted the 'message' argument values from the last two free socket assert.strictEqual() calls to code comments as they fail to provide the necessary details and values specific to why the test is failing. The default message returned from the strictEqual() call should provide sufficient details for debugging errors.
CI failures appear unrelated. ARM fanned re-run: https://ci.nodejs.org/job/node-test-commit-arm-fanned/15342/ pLinux re-run: https://ci.nodejs.org/job/node-test-commit-plinux/16259/ |
Hi @Trott, anything else needed from me to get this merged? Can we just re-run the node-test-pull-request job or do I need changes on my end? |
CI re-runs were green so this can land once it's been open for 72 hours (so in another 4 hours from now) as long as no Collaborator comes along with an objection. |
Awesome! Thanks, @Trott! |
Oh, it only needs 48 hours because it was opened on a Wednesday (in my timezone, anyway--our 48/72 week/weekend rule has some ambiguity). I'll land now. |
Meh, our tooling is telling me to wait 3 more hours. I'll defer to the tooling. Sorry for all the comment noise. |
All good. Thanks for keeping me updated! |
Converted the 'message' argument values from the last two free socket assert.strictEqual() calls to code comments as they fail to provide the necessary details and values specific to why the test is failing. The default message returned from the strictEqual() call should provide sufficient details for debugging errors. PR-URL: #19525 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in d101942 @willhayslett Congratulations on your first commit in Node.js core! 🎉 |
Whew! Thanks, @trivikr! |
Converted the 'message' argument values from the last two free socket assert.strictEqual() calls to code comments as they fail to provide the necessary details and values specific to why the test is failing. The default message returned from the strictEqual() call should provide sufficient details for debugging errors. PR-URL: #19525 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Converted the 'message' argument values from the last two free socket assert.strictEqual() calls to code comments as they fail to provide the necessary details and values specific to why the test is failing. The default message returned from the strictEqual() call should provide sufficient details for debugging errors. PR-URL: #19525 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Converted the 'message' argument values from the last two free socket
assert.strictEqual() calls to code comments as they fail to provide the
necessary details and values specific to why the test is failing. The
default message returned from the strictEqual() call should provide
sufficient details for debugging errors.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes