Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: replaced string concat with template literals #15885

Conversation

GitHubTracey
Copy link
Contributor

replaced string concatenation with template literals

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

test

@nodejs-github-bot nodejs-github-bot added dont-land-on-v4.x inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests. labels Oct 6, 2017
@Trott Trott added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Oct 6, 2017
@@ -69,8 +69,7 @@ function testSampleDebugSession() {
actual = v['value']['value'];
expected = expects[v['name']][i];
if (actual !== expected) {
failures.push('Iteration ' + i + ' variable: ' + v['name'] +
' expected: ' + expected + ' actual: ' + actual);
failures.push(`Iteration ${i} variable: ${v['name']} expected: ${expected} actual: ${actual}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please wrap lines at 80 characters.

Copy link
Member

Choose a reason for hiding this comment

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

I will fix this while landing.

@@ -69,8 +69,7 @@ function testSampleDebugSession() {
actual = v['value']['value'];
expected = expects[v['name']][i];
if (actual !== expected) {
failures.push('Iteration ' + i + ' variable: ' + v['name'] +
' expected: ' + expected + ' actual: ' + actual);
failures.push(`Iteration ${i} variable: ${v['name']} expected: ${expected} actual: ${actual}`);
Copy link
Member

Choose a reason for hiding this comment

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

I will fix this while landing.

@BridgeAR BridgeAR self-assigned this Oct 9, 2017
BridgeAR pushed a commit that referenced this pull request Oct 9, 2017
@BridgeAR
Copy link
Member

BridgeAR commented Oct 9, 2017

Landed in 506a5f7

Thanks for the PR, and congratulations on becoming a Node.js Contributor 🎉 !

@BridgeAR BridgeAR closed this Oct 9, 2017
@refack
Copy link
Contributor

refack commented Oct 9, 2017

@GitHubTracey you might want to go to 506a5f7 and click the ❔ so that GitHub will know it's yours
image

MylesBorins pushed a commit that referenced this pull request Oct 11, 2017
@MylesBorins MylesBorins mentioned this pull request Oct 11, 2017
addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 12, 2017
@GitHubTracey
Copy link
Contributor Author

GitHubTracey commented Oct 19, 2017 via email

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. inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants