Commit 2a8d293
test: Update to const and use regex for assertions
Use const over var.
Assert error message with regex.
PR-URL: #9891
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 295eb5a commit 2a8d293Copy full SHA for 2a8d293
File tree
Expand file treeCollapse file tree
1 file changed
+5
-5
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+5
-5
lines changedOpen diff view settings
Collapse file
test/parallel/test-net-localerror.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-localerror.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
0 commit comments