Skip to content

Commit

Permalink
test: refactor test-crypto-binary-default
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
targos committed Nov 29, 2016
1 parent ae029f5 commit 85a6b53
Showing 1 changed file with 130 additions and 117 deletions.
Loading

0 comments on commit 85a6b53

Please sign in to comment.