Skip to content

test: refactor test-cli-eval.js - #10898

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:test
Jan 23, 2017
Merged

test: refactor test-cli-eval.js#10898
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:test

Conversation

@cjihrig

Copy link
Copy Markdown
Contributor
  • Add missing common.mustCall().
  • Isolate tests using block statements where helpful.
  • Cleanup comments.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

@nodejs-github-botnodejs-github-bot added dont-land-on-v7.x test Issues and PRs related to the tests. labels Jan 19, 2017
@mscdexmscdex added process Issues and PRs related to the process subsystem. and removed dont-land-on-v7.x labels Jan 19, 2017

@jasnelljasnell 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.

LGTM with a nit

Comment threadtest/parallel/test-cli-eval.js Outdated

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.

Would be a bit more concise to use:

`${nodejs} --eval "require('${filename}')"`

@TrottTrott 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.

LGTM if CI is green

@cjihrig

cjihrig commented Jan 23, 2017

Copy link
Copy Markdown
ContributorAuthor

PR-URL: nodejs#10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@cjihrig
cjihrig merged commit 87039e3 into nodejs:masterJan 23, 2017
@cjihrig
cjihrig deleted the test branch January 23, 2017 18:22
targos pushed a commit that referenced this pull request Jan 28, 2017
PR-URL: #10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@italoacasasitaloacasas 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#10898
Reviewed-By: James M Snell <jasnell@gmail.com>
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#10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@jasnell

Copy link
Copy Markdown
Member

This will need backport PRs if it should land on v6 or v4

MylesBorins pushed a commit that referenced this pull request Apr 18, 2017
PR-URL: #10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
MylesBorins pushed a commit that referenced this pull request Apr 19, 2017
PR-URL: #10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Apr 19, 2017
andrew749 pushed a commit to michielbaird/node that referenced this pull request Jul 19, 2017
PR-URL: nodejs/node#10898
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

processIssues and PRs related to the process subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@cjihrig@jasnell@Trott@mscdex@MylesBorins@targos@italoacasas@nodejs-github-bot