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: nodejs#9810
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
targos authored and addaleax committed Dec 8, 2016
1 parent 3219586 commit ca0e577
Showing 1 changed file with 130 additions and 117 deletions.
Loading

0 comments on commit ca0e577

Please sign in to comment.