Commit 48142bcf authored by Tobias Kahse's avatar Tobias Kahse Committed by Ilkka Myller
Browse files

test: refactored test-crypto-random.js

Replaced `var` by `const` for constant variables, enforced
strict equality check, and replaced custom callback execution
check by `common.mustCall`.

PR-URL: https://github.com/nodejs/node/pull/8632


Reviewed-By: default avatarJeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarIlkka Myller <ilkka.myller@nodefield.com>
parent 9fb59dfa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment