test: improve test-http-allow-req-after-204-res · nodejs/node@28a5ce1 · GitHub
Skip to content

Commit 28a5ce1

Browse files
edsadrMylesBorins
authored andcommitted
test: improve test-http-allow-req-after-204-res
* use const instead of var * use common.mustCall to control functions execution * use assert.strictEqual instead of assert.equal * use arrow functions PR-URL: #10503 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c7378c4 commit 28a5ce1

1 file changed

Lines changed: 15 additions & 18 deletions

File tree

test/parallel/test-http-allow-req-after-204-res.js

Lines changed: 15 additions & 18 deletions

0 commit comments

Comments
 (0)