test: refactor test-crypto-binary-default · nodejs/node@8b733dc · GitHub
Skip to content

Commit 8b733dc

Browse files
targosMylesBorins
authored andcommitted
test: refactor test-crypto-binary-default
* var -> const. * Group and sort imports. * Correctly align function arguments. * Fix incorrect use of string instead of RegExp in `throws` assertions. * assert.equal -> assert.strictEqual. * Verify that callbacks are called with common.mustCall. PR-URL: #9810 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 45af785 commit 8b733dc

1 file changed

Lines changed: 77 additions & 65 deletions

File tree

test/parallel/test-crypto-binary-default.js

Lines changed: 77 additions & 65 deletions

0 commit comments

Comments
 (0)