Commit 6db760c
test: improve test-net-socket-timeout
* Check for custom Node.js code rather than constructor in
assert.throws().
* Use arrow functions consistently.
PR-URL: #24859
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent 643ca14 commit 6db760cCopy full SHA for 6db760c
File tree
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Collapse file
test/parallel/test-net-socket-timeout.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-socket-timeout.js+7-7Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
| 43 | + |
44 | 44 | |
45 | | - |
| 45 | + |
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
54 | | - |
55 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
56 | 56 | |
57 | 57 | |
58 | 58 | |
|
0 commit comments