-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Update dgram bad arguments tests #24215
Update dgram bad arguments tests #24215
Conversation
sock.send(); | ||
}, TypeError); // First argument should be a buffer. | ||
// First argument should be a buffer. | ||
assert.throws(() => { sock.send(); }, TypeError); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: we don't need both this and common. expectsError()
, I'd keep only common. expectsError()
. Same below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update accordingly. Thank you.
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18435/ |
Landed in 457cde3. Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
Improve error validation in test-dgram-send-bad-arguments. PR-URL: nodejs#24215 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Improve error validation in test-dgram-send-bad-arguments. PR-URL: #24215 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Improve error validation in test-dgram-send-bad-arguments. PR-URL: nodejs#24215 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Improve error validation in test-dgram-send-bad-arguments. PR-URL: #24215 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Improve error validation in test-dgram-send-bad-arguments. PR-URL: #24215 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes