FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: scope redeclared vars in test-child-process* by Trott · Pull Request #4944 · nodejs/node · GitHub

/ node Public

test: scope redeclared vars in test-child-process* - #4944

Closed
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:test-child-process-no-redeclare
Closed

test: scope redeclared vars in test-child-process*#4944
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:test-child-process-no-redeclare

Conversation

Trott commented Jan 29, 2016

Copy link
Copy Markdown
Member

A handful of child process tests had variables declared multiple times
in the same scope using var. This change scopes those declarations.

A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.
Trott added child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to the tests. labels Jan 29, 2016

Trott commented Jan 29, 2016

Copy link
Copy Markdown
Member Author

jasnell commented Jan 29, 2016

Copy link
Copy Markdown
Member

lts watch label applied. Hey @Trott , can I ask you to please attach the lts-watch label to these kinds of test updates? It would save a ton of time :-)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Could you declare the variable outside of the if block ?
Edit: I mean move the declaration.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Sure, done!

targos commented Jan 29, 2016

Copy link
Copy Markdown
Member

LGTM with a comment.

Trott added a commit to Trott/io.js that referenced this pull request Feb 1, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: nodejs#4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>

Trott commented Feb 1, 2016

Copy link
Copy Markdown
Member Author

Landed in 185f849

Trott closed this Feb 1, 2016
rvagg pushed a commit that referenced this pull request Feb 8, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: #4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 17, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: #4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 18, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: #4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
MylesBorins mentioned this pull request Feb 18, 2016
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: #4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
A handful of child process tests had variables declared multiple times
in the same scope using `var`. This change scopes those declarations.

PR-URL: nodejs#4944
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Trott deleted the test-child-process-no-redeclare branch January 13, 2022 22:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL