-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: const, let and strictEqual in test-tls-0 #9948
Conversation
var cert = c.getPeerCertificate(); | ||
assert.equal(cert.subjectaltname, | ||
const cert = c.getPeerCertificate(); | ||
assert.strictEqual(cert.subjectaltname, | ||
'DNS:google.com\0.evil.com, ' + |
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 please align the arguments here?
@jasnell To keep this moving, I addressed your nit on @flekmatik's behalf. PTAL and update your review if it's warranted. Thanks! |
ping @jasnell: Your nit has been addressed. Looks good to you now? |
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: nodejs#9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in 004a100. Thanks for the contribution! 🎉 |
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
* var -> const, let * assert.equal() -> assert.strictEqual() PR-URL: #9948 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: James M Snell <[email protected]>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
Just a fix for a test
Description of change
Using const instead of var and strictEqual instead of equal in test/parallel/test-tls-0-dns-altname.js