Uh oh!
There was an error while loading. Please reload this page.
Change assert.equal to assert.strictEqual - #10071
Conversation
santigimeno
commented
Dec 1, 2016
The commit message should have the following format. |
Use asssert.strictEqual to enforce coersion.
addaleax
commented
Dec 2, 2016
YingjieFan
commented
Dec 2, 2016
Why did the build failed? Didn't saw any useful information in the link. |
brad-decker
commented
Dec 2, 2016
@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. |
Trott
commented
Dec 2, 2016
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. |
YingjieFan
commented
Dec 3, 2016
Thanks guys. How and when can we restart it ? |
Trott
commented
Dec 3, 2016
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 👌 |
YingjieFan
commented
Dec 3, 2016
@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? |
jasnell
commented
Dec 3, 2016
@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 <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Trott
commented
Dec 5, 2016
Landed in 5324a57. |
brad-decker
commented
Dec 5, 2016
Congrats @YingjieFan :) |
YingjieFan
commented
Dec 5, 2016
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 |
YingjieFan
commented
Dec 5, 2016
@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 <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax
commented
Dec 5, 2016
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 git@github.com:nodejs/node.git # only do this oncegit 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 <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Use asssert.strictEqual to disallow coersion. PR-URL: nodejs#10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
YingjieFan
commented
Dec 18, 2016
@addaleax thanks! |
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
Description of change