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 <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
targos authored and MylesBorins committed Dec 21, 2016
1 parent 85112c0 commit e273b51
Showing 1 changed file with 130 additions and 117 deletions.
Loading

0 comments on commit e273b51

Please sign in to comment.