test: refactor test-http-unix-socket · nodejs/node@1ebb5b9 · GitHub
Skip to content

Commit 1ebb5b9

Browse files
davidmarkclementsFishrock123
authored andcommitted
test: refactor test-http-unix-socket
Use `common.mustCall()` and `common.fail()` where appropriate. Change `assert.equal` to `assert.strictEqual` to ensure specificity. Change var declarations to const to take advantage of ES6 immutable bindings. PR-URL: #10072 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 8b7c97b commit 1ebb5b9

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

test/parallel/test-http-unix-socket.js

Lines changed: 14 additions & 15 deletions

0 commit comments

Comments
 (0)