Skip to content

test: refactor test-tls-securepair-fiftharg

Assert the server name directly in the SNICallback, since common.mustCall() already guarantees that the callback is called exactly once, making process.on('exit') unnecessary.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test/tls

Merge request reports

Loading