Commit d51c856
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 2ee3543 commit d51c856Copy full SHA for d51c856
File tree
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-status-reason-invalid-chars.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-status-reason-invalid-chars.js+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
32 | 33 | |
33 | 34 | |
34 | 35 | |
35 | | - |
36 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
37 | 40 | |
38 | 41 | |
39 | 42 | |
|
0 commit comments