-
Notifications
You must be signed in to change notification settings - Fork 30k
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: clarify assert messages #16019
Conversation
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
@@ -23,7 +23,7 @@ const modSize = 1024; | |||
let s1stream = crypto.createSign('SHA1'); | |||
s1stream.end('Test123'); | |||
s1stream = s1stream.sign(keyPem, 'base64'); | |||
assert.strictEqual(s1, s1stream, 'Stream produces same output'); | |||
assert.strictEqual(s1, s1stream, `${s1} should equal ${s1stream}`); |
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.
Nice! The former message was actually really wrong!
Gee whiz, the flakiness of CI can be burdensome sometimes. Looks like all CI issues are completely unrelated. Otherwise everything is green. I'm going to land this. Documenting here, just for the record. aix61-ppc64
smartos15-64
vs2017,win2016,0
3,pi3-raspbian-jessie
|
PR-URL: #16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
Landed in 5f15fde @cpandrews8 thanks for your contribution! It's much appreciated. |
PR-URL: #16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
PR-URL: nodejs/node#16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
PR-URL: #16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
PR-URL: #16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
PR-URL: #16019 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Lance Ball <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test