Skip to content

test: refactor test-crypto-binary-default

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test, crypto

Description of change
  • 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.

Merge request reports

Loading