GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — test: Remove third argument from assert.strictEqual() by rishabhptr · Pull Request #22051 · nodejs/node Conversation
Contributor
In file test/parallel/test-stream-transform-final.js the ten calls to Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsIn file test/parallel/test-stream-transform-final.js the ten calls to assert.strictEqual() use a string literal as third argument. When a AssertionError occurs, it reports the string literal and not the first two arguments, so the third agrument is removed and made a comment just above the call to assert.strictEqual().
Trott
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
apapirovski
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM but do the comments actually help? I would argue we should remove them too.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
jasnell
approved these changes
trivikr
approved these changes
cjihrig
approved these changes
maclover7
approved these changes
lpinca
approved these changes
BridgeAR
approved these changes
|
There was an error while loading. Please reload this page.
|
Resume Build: https://ci.nodejs.org/job/node-test-pull-request/16142/ (edit @maclover7: ✔️) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 8d15f69, congrats on your first pull request to Node.js!! ❤️ 💚 💙 💛 💜 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
In file test/parallel/test-stream-transform-final.js the ten calls to assert.strictEqual() use a string literal as third argument. When a AssertionError occurs, it reports the string literal and not the first two arguments, so the third agrument is removed and made a comment just above the call to assert.strictEqual(). PR-URL: #22051 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.