test: fix test-http-status-reason-invalid-chars · nodejs/node@6105c91 · GitHub
Skip to content

Commit 6105c91

Browse files
saitoxuaddaleax
authored andcommitted
test: fix test-http-status-reason-invalid-chars
Use port 0 instead of common.PORT, and use server address instead of localhost to follow writing test guideline. This is a part of Code And Learn at NodeFest 2016 Challenge in Tokyo. PR-URL: #9572 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent d1f5e99 commit 6105c91

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/parallel/test-http-status-reason-invalid-chars.js

Lines changed: 5 additions & 2 deletions

0 commit comments

Comments
 (0)