-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
adding tested values on fail condition message at test/parallel/test-vm-symbols.js #15873
Conversation
…test-vm-symbols.js
Hi, @jungleBadger! Welcome and thanks for this. I don't think it's a good idea to insert all those indentation spaces inside the template literal. If you want to keep it with all that text, you can use |
test/parallel/test-vm-symbols.js
Outdated
@@ -19,7 +19,9 @@ const context = new Document(); | |||
vm.createContext(context); | |||
|
|||
assert.strictEqual(context.getSymbolValue(), 'foo', | |||
'should return symbol-keyed value from the outside'); | |||
`should return symbol-keyed value from the outside. |
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.
It would be better if we just remove the assertion message (third arugment) here.
test/parallel/test-vm-symbols.js
Outdated
|
||
assert.strictEqual(vm.runInContext('this.getSymbolValue()', context), 'foo', | ||
'should return symbol-keyed value from the inside'); | ||
`should return symbol-keyed value from the inside. |
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.
Ditto
Ping @jungleBadger |
Hi! Thanks for the feedback and I totally agree. Will make the changes and send it again |
…test-vm-symbols.js
PR-URL: nodejs#15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in 708084a Thanks for the PR and congratulations on becoming a Node.js Contributor 🎉 ! |
PR-URL: #15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs/node#15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs/node#15873 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes