-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test: replaced string concat with template literals #15885
Conversation
@@ -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}`); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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}`); |
There was a problem hiding this comment.
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.
PR-URL: #15885 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in 506a5f7 Thanks for the PR, and congratulations on becoming a Node.js Contributor 🎉 ! |
@GitHubTracey you might want to go to 506a5f7 and click the ❔ so that GitHub will know it's yours |
PR-URL: #15885 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs/node#15885 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Thanks, Refael! I have been away from my computer since the event. I
appreciate the direction! Also, thank-you to Ruben for fixing the
line-wrap. When I first committed, I had thought about that, but since we
were trying to get rid of the string concat, I figured I shouldn't do that.
It is understandable though.
Thanks to all of those at the event! it was amazing!
…On Mon, Oct 9, 2017 at 8:29 AM, Refael Ackermann ***@***.***> wrote:
@GitHubTracey <https://github.com/githubtracey> you might want to go to
506a5f7
<506a5f7>
and click the ❔ so that GitHub will know it's yours
[image: image]
<https://user-images.githubusercontent.com/96947/31345742-b80a450a-ace4-11e7-95ce-6c781e279e0e.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15885 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ATBGPpyz5YuUujUPjxtHYIoEBGkBqsS4ks5sqjvpgaJpZM4PwxuH>
.
|
replaced string concatenation with template literals
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test