test: minor changes to test-crypto-padding.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Replaced all var
with const
or let
.
Changed assert.equal
to assert.strictEqual
.
Added error message checking to every .throw
call.