Skip to content

replacc string concatenation in test/parallel/test-https-unix-socket-… - #14282

Closed
zyziyun wants to merge 1 commit into
nodejs:masterfrom
zyziyun:zy/test
Closed

replacc string concatenation in test/parallel/test-https-unix-socket-…#14282
zyziyun wants to merge 1 commit into
nodejs:masterfrom
zyziyun:zy/test

Conversation

@zyziyun

@zyziyun zyziyun commented Jul 16, 2017

Copy link
Copy Markdown

…self-signed.js with template literals

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

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Jul 16, 2017
@TimothyGu TimothyGu added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Jul 16, 2017

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

LGTM if CI is green

@Trott

Trott commented Jul 16, 2017

Copy link
Copy Markdown
Member

@tniessen tniessen self-assigned this Jul 16, 2017
const options = {
cert: fs.readFileSync(common.fixturesDir + '/test_cert.pem'),
key: fs.readFileSync(common.fixturesDir + '/test_key.pem')
cert: fs.readFileSync(`${common.fixturesDir}/test_cert.pem`),

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.

@zyziyun Would you consider altering these to use path.join() instead? For example:

  cert: fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem'),

@Trott

Trott commented Jul 26, 2017

Copy link
Copy Markdown
Member

This change already landed in #14286. Closing. Thanks!

@Trott Trott closed this Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants