Commit 1e98ea3f authored by Adrian Estrada's avatar Adrian Estrada Committed by Italo A. Casas
Browse files

test: refactor the code in test-http-keep-alive

* use common.mustCall to control the functions execution automatically
* use let and const instead of var
* use assert.strictEqual instead assert.equal

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


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarItalo A. Casas <me@italoacasas.com>
parent dd986492
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