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

test: use const for all require() calls by cjihrig · Pull Request #10550 · nodejs/node · GitHub

/ node Public

test: use const for all require() calls - #10550

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:requires
Jan 2, 2017
Merged

test: use const for all require() calls#10550
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:requires

Conversation

cjihrig commented Dec 30, 2016

Copy link
Copy Markdown
Contributor

This commit assigns the results of every require() to a const variable. This follows the style used in /lib.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

nodejs-github-bot added test Issues and PRs related to the tests. dont-land-on-v7.x labels Dec 30, 2016

Trott left a comment

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

CHUUUUURRRRNNNN!!!! But that's fine by me in this case. LGTM if CI is ✅

gibfahn commented Dec 31, 2016

Copy link
Copy Markdown
Member

CI: https://ci.nodejs.org/job/node-test-commit/6946/console

And there's already a merge conflict...

cjihrig commented Jan 1, 2017

Copy link
Copy Markdown
Contributor Author

PR-URL: nodejs#10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
cjihrig merged commit ff1efa6 into nodejs:master Jan 2, 2017
cjihrig deleted the requires branch January 2, 2017 23:45
italoacasas pushed a commit to italoacasas/node that referenced this pull request Jan 18, 2017
PR-URL: nodejs#10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
italoacasas pushed a commit to italoacasas/node that referenced this pull request Jan 19, 2017
PR-URL: nodejs#10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this pull request Jan 28, 2017
PR-URL: #10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
italoacasas mentioned this pull request Jan 29, 2017
italoacasas pushed a commit to italoacasas/node that referenced this pull request Jan 30, 2017
PR-URL: nodejs#10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
italoacasas pushed a commit to italoacasas/node that referenced this pull request Jan 30, 2017
PR-URL: nodejs#10550
Reviewed-By: Rich Trott <rtrott@gmail.com>

Copy link
Copy Markdown
Contributor

@cjihrig could you backport to v4 / v6?

cjihrig commented Mar 11, 2017

Copy link
Copy Markdown
Contributor Author

This should get picked up by #11775 and #11773.

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

test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL