-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: add RegExp second argument to assert.throws #12139
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.
LGTM if CI is green
@dave-k You checked the box indicating that your commit message follows the commit guidelines, but it does not. (Looks like you edited the PR message to follow the guidelines.) If you can fix it and force-push to your branch, then awesome. (If not, that's OK too because whoever lands this can do it at that time.) |
Hi,
I would be happy to fix it.
Could you explain what is required to fix the commit message so that it
follows the commit guidelines.
…On Thu, Mar 30, 2017 at 1:46 PM, Rich Trott ***@***.***> wrote:
@dave-k <https://github.com/dave-k> You checked the box indicating that
your commit message follows the commit guidelines, but it does not. (Looks
like you edited the PR message to follow the guidelines.)
If you can fix it and force-push to your branch, then awesome. (If not,
that's OK too because whoever lands this can do it at that time.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12139 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFMfPMYhnCzssrckAcRCsck4rBar20sEks5rrBSggaJpZM4Mu4Ao>
.
|
@dave-k According to commit guidelines, you could:
So the whole commit message could be:
|
@dave-k ... can you please rebase the commits to get rid of the merge commit? |
do you mean to run? |
@dave-k I believe you'll need to rebase onto I'd recommend you to do the following:
if you haven't done that yet, and then
Your default text editor will appear (most probably that'll be nano or vi/vim; feel free to ping me if that's the latter and you need any help with using it or with changing the default editor). Change
This way you'll be fine with this PR, but be sure to create new branches for all of your new patches, never open PRs from
when this PR lands. |
- a regular expression that matches the entire error message.
@jasnell just notifying you that @dave-k has successfully rebased their commit in case you're waiting for it to land the PR. @dave-k for your future contributions, take a look at https://github.com/nodejs/node/blob/master/CONTRIBUTING.md for the commit guidelines and Git recipes related to a PR's lifecycle, and happy hacking ;) |
- a regular expression that matches the entire error message. PR-URL: #12139 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
- a regular expression that matches the entire error message. PR-URL: nodejs#12139 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
- a regular expression that matches the entire error message. PR-URL: #12139 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
- a regular expression that matches the entire error message. PR-URL: #12139 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
- a regular expression that matches the entire error message. PR-URL: nodejs/node#12139 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Add a regular expression argument to assert.throws(Function, RegExp)
in test/addons/make-callback-recurse/test.js.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)