-
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
improve message for test-domain-http-server failure cases to include actual value #16048
Conversation
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.
Do we want to land this? I prefer the plain message from strictEqual as the value would already be in the returned error message here.
I think the changes here make things less clear. I didn't see the original issue, but if you could undo the existing changes and then remove the
@twk-b if you could push a commit to your branch that makes this change then that would be good. |
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.
LGTM but this will need line wrapping to pass linting before land
I agree that the default messaging, in standard format, is probably a better
user experience.
When making the changes, I did not get why you would want to replace
standarding assert messages. I assumed it was a ticket either created
before assert.strictEqual didn't show the output. Or perhaps
like as Gibson suggests, maybe the ticket creator misdirected to
assert.strictEqual
instead of assert.notStrictEqual (in line 53) which makes more sense... but I
am too noob to guess what needs to be done without more direction...
I see approved in the comments, am I to fix the line wrap
issue?
…On Mon, Oct 9, 2017 at 6:38 PM, James M Snell ***@***.***> wrote:
***@***.**** approved this pull request.
LGTM but this will need line wrapping to pass linting before land
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16048 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIc_zHi6lXPpusRtTygTyzyTepATC5KCks5sqryRgaJpZM4Pw-L2>
.
|
I would prefer to follow up on #16048 (comment). |
@gibfahn PTAL |
@twk-b You might want to force-push with your name and email address set correctly to an email address associated with your GitHub account. This is not strictly necessary, but the commits will not be associated with your account otherwise. You can view the data of a commit of your branch using |
failure cases to include actual value with more meaningufl message
Thanks for the tip, I have updated my global config, and ran the following:
git commit --amend --author="Bernie Lees <bernie@dcbl.ca>"
git show --format=fuller # looks correct now
git push origin --force
Sorry, I am a mercurial kid. hopefully those are the right steps.. --amend
push --force sounds evil...
|
PR-URL: #16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Landed in 018375c, thank you for your contribution! 🎉
Yes, everything seems to be correct now, thanks for fixing this! |
PR-URL: nodejs/node#16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: #16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: #16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: #16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: #16048 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
improve assert failure message in parallel/test-domain-http-server failure cases to include actual value with more meaningufl message
Checklist\
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test