test: refactor test-crypto test files
Checklist
-
make lint
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Description of change
Updated ./test/parallel/test-crypto*
-
var
toconst
-
assert.equal
toassert.StrictEqual
, same withnotEqual
- wrap callback with
common.mustCall()