Commit 80620d86 authored by Thomas van Lankveld's avatar Thomas van Lankveld Committed by Ilkka Myller
Browse files

test: cleanup test-tls-connect-given-socket.js

Changed vars to consts and lets, assert.equals to
assert.strictEquals and added common.mustCall around callbacks.
Switched to arrow functions.

PR-URL: https://github.com/nodejs/node/pull/8616


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarIlkka Myller <ilkka.myller@nodefield.com>
parent 1c81dd8d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment