-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Change assert.equal to assert.strictEqual #10071
Conversation
The commit message should have the following format. |
Use asssert.strictEqual to enforce coersion.
Why did the build failed? Didn't saw any useful information in the link. |
@YingjieFan @Trott said on one of my PRs that some of the code-and-learn CI jobs got killed by accident. Probably just needs a reviewer to restart them. |
On the CI thing: This one was just a single failure on one of the (many) Windows builds. It's unrelated. No need to be concerned about it. |
Thanks guys. How and when can we restart it ? |
No need. The host that failed to build is one that doesn't run the test you changed anyway. CI results for this change are 👌 |
@Trott Sorry I'm new to Git. Wonder how do I know if a change is in the 'trunk' or 'master' successfully? What confuse me is it got approved but test failed. Does that mean it will be rejected or merged? |
@YingjieFan ... the changes here look good. The test failure here is nothing to worry about. One of the committers will merge the commit at some point in the next day or so. There should not be anything more that you need to do on this one! The one thing I did notice about your commit is that you put your commit into your own fork's The way to do that if you're using the git command line is:
|
Use asssert.strictEqual to disallow coersion. PR-URL: nodejs#10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in 5324a57. |
Congrats @YingjieFan :) |
I've been working with SVN all the time. It's really cool to learn some git and I really liked it. Thanks so much for all the help guys! @santigimeno @brad-decker @addaleax @Trott @jasnell |
@jasnell I've been trying to understand the real purpose between fork's master vs other branch. Assume I create a branch based on master, the questions are:
Appreciate it if you can answer those questions for me. |
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
That won’t work well once you have more than one pending pull request. For two simultaneous PRs, you’d definitely need two different branches.
git remote add upstream [email protected]:nodejs/node.git # only do this once
git rebase upstream/master # this will keep your current branch up to date
It’s technically up to you, but for new PRs, you need to rebase old branches against
If you don’t use your fork’s |
Use asssert.strictEqual to disallow coersion. PR-URL: nodejs#10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Use asssert.strictEqual to disallow coersion. PR-URL: nodejs#10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@addaleax thanks! |
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
Description of change