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 addaleax committed Dec 5, 2016
1 parent 4d1e112 commit c35bf44
Showing 1 changed file with 130 additions and 117 deletions.
Loading

0 comments on commit c35bf44

Please sign in to comment.