-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
test: modernized JS and tighten equality checking in test-eval.js #8590
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
Conversation
Changed var -> const and assert.equal -> assert.strictEqual
|
LGTM with a comment. |
test/parallel/test-eval.js
Outdated
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.
Can you line up the first single quote with the one on the line above it.
targos
left a comment
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.
LGTM with @cjihrig's comment
Wrapped line longer than 80 chars to more lines.
|
Fixed. |
|
Weird CI failure, actually the same as in #8618 Can you try to re-run the tests? |
|
@wzoom the only failure (test/arm-fanned) is known to be flaky and is not related to this change. |
lpinca
left a comment
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.
LGTM
jasnell
left a comment
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.
LGTM
Changed var -> const and assert.equal -> assert.strictEqual PR-URL: #8590 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
Landed in 070efb5. Thank you! |
Changed var -> const and assert.equal -> assert.strictEqual PR-URL: #8590 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Changed var -> const and assert.equal -> assert.strictEqual PR-URL: #8590 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
test
Description of change
Changed var -> const and assert.equal -> assert.strictEqual
Cleanup according to nodejs/code-and-learn#56