Commit 4e38655
test: refactor test-tls-reuse-host-from-socket
Replace booleans with `common.mustCall()`, migrate from `var` to
`const`, and apply minor formatting changes.
PR-URL: #6756
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 30ab6a8 commit 4e38655Copy full SHA for 4e38655
File tree
Expand file treeCollapse file tree
1 file changed
+8
-18
lines changedOpen diff view settings
Filter options
- test/internet
Expand file treeCollapse file tree
1 file changed
+8
-18
lines changedOpen diff view settings
Collapse file
test/internet/test-tls-reuse-host-from-socket.js
Copy file name to clipboard+8-18Lines changed: 8 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
| 2 | + |
4 | 3 | |
5 | 4 | |
6 | 5 | |
7 | 6 | |
8 | 7 | |
9 | | - |
| 8 | + |
10 | 9 | |
11 | | - |
12 | | - |
13 | | - |
| 10 | + |
14 | 11 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
| 12 | + |
| 13 | + |
25 | 14 | |
26 | | - |
27 | | - |
| 15 | + |
| 16 | + |
| 17 | + |
0 commit comments