Skip to content

test: use const and strictEqual in child-process-spawn-error - #9951

Closed
jreading wants to merge 1 commit into
nodejs:masterfrom
jreading:nina-tasks2
Closed

test: use const and strictEqual in child-process-spawn-error#9951
jreading wants to merge 1 commit into
nodejs:masterfrom
jreading:nina-tasks2

Conversation

@jreading

@jreadingjreading commented Dec 1, 2016

Copy link
Copy Markdown
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change
  • Using const instead of var for assignments.
  • let is not used since there are no reassignments or block scopes.
  • assert.equals was changed to assert.strictEquals

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
@mscdexmscdex added the child_process Issues and PRs related to the child_process subsystem. label Dec 1, 2016
@imyllerimyller added code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. and removed child_process Issues and PRs related to the child_process subsystem. labels Dec 1, 2016
@mscdexmscdex added the child_process Issues and PRs related to the child_process subsystem. label Dec 1, 2016

@princejwesleyprincejwesley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First line in the commit msg is too long,
why not test: refactor child-process-spawn-error?

- Using const instead of var for assignments.
- let is not used since there are no reassignments or block scopes.
- assert.equals was changed to assert.strictEquals
@Trott

Trott commented Dec 4, 2016

Copy link
Copy Markdown
Member

@Trott

Trott commented Dec 4, 2016

Copy link
Copy Markdown
Member

All CI is green except for one host that is still building v8. Consulted with someone from the Build team, and it seems like that's normal when there's a cherry-pick from v8 like there was recently. So...while that's still going, I'm going to start another CI on a host of the same type and hope that it's got the build cached and finishes faster: https://ci.nodejs.org/job/node-test-commit-arm/6292/nodes=armv7-wheezy/

@Trott

Trott commented Dec 4, 2016

Copy link
Copy Markdown
Member

Both jobs finished successfully. Landing!

Trott pushed a commit to Trott/io.js that referenced this pull request Dec 4, 2016
Use const instead of var for assignments.
PR-URL: nodejs#9951
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott

Trott commented Dec 4, 2016

Copy link
Copy Markdown
Member

Landed in 5be66db

@TrottTrott closed this Dec 4, 2016
@Trott

Trott commented Dec 4, 2016

Copy link
Copy Markdown
Member

Thanks for the contribution! 🎉

addaleax pushed a commit that referenced this pull request Dec 5, 2016
Use const instead of var for assignments.
PR-URL: #9951
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Fishrock123Fishrock123 mentioned this pull request Dec 5, 2016
2 tasks
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
Use const instead of var for assignments.
PR-URL: nodejs#9951
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
Use const instead of var for assignments.
PR-URL: nodejs#9951
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Use const instead of var for assignments.
PR-URL: #9951
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Dec 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_processIssues and PRs related to the child_process subsystem.code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@jreading@Trott@princejwesley@cjihrig@mscdex@MylesBorins@addaleax@imyller@nodejs-github-bot