test: refactor test-crypto-padding.js · nodejs/node@404306f · GitHub
Skip to content

Commit 404306f

Browse files
Konstantin Likhteraddaleax
authored andcommitted
test: refactor test-crypto-padding.js
- Replaced var with const and let. - Replaced assert.equal() with assert.strictEqual(). - Added error message checking for assert.throws(). PR-URL: #9971 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 821518d commit 404306f

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

test/parallel/test-crypto-padding.js

Lines changed: 12 additions & 14 deletions

0 commit comments

Comments
 (0)