Commit 8f51e36
test: use common platform helpers everywhere
Use the common.isWindows, common.isFreeBSD and common.isSunOS where
possible.
Add common.isOSX and common.isLinux.
Fix `test-fs-read-file-sync-hostname` as in its current form was not
being run anywhere.
PR-URL: #7845
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent e6887e2 commit 8f51e36Copy full SHA for 8f51e36
File tree
Expand file treeCollapse file tree
26 files changed
+46
-40
lines changedOpen diff view settings
Filter options
- test
- internet
- parallel
- pummel
- sequential
Expand file treeCollapse file tree
26 files changed
+46
-40
lines changedOpen diff view settings
Collapse file
+6-4Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
| 29 | + |
| 30 | + |
29 | 31 | |
30 | 32 | |
31 | 33 | |
| ||
61 | 63 | |
62 | 64 | |
63 | 65 | |
64 | | - |
| 66 | + |
65 | 67 | |
66 | 68 | |
67 | 69 | |
| ||
91 | 93 | |
92 | 94 | |
93 | 95 | |
94 | | - |
| 96 | + |
95 | 97 | |
96 | 98 | |
97 | 99 | |
| ||
110 | 112 | |
111 | 113 | |
112 | 114 | |
113 | | - |
| 115 | + |
114 | 116 | |
115 | 117 | |
116 | 118 | |
| ||
469 | 471 | |
470 | 472 | |
471 | 473 | |
472 | | - |
| 474 | + |
473 | 475 | |
474 | 476 | |
475 | 477 | |
|
Collapse file
test/internet/test-dns-ipv6.js
Copy file name to clipboardExpand all lines: test/internet/test-dns-ipv6.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
123 | 123 | |
124 | 124 | |
125 | 125 | |
126 | | - |
| 126 | + |
127 | 127 | |
128 | 128 | |
129 | 129 | |
|
Collapse file
test/parallel/test-cwd-enoent-preload.js
Copy file name to clipboardExpand all lines: test/parallel/test-cwd-enoent-preload.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
test/parallel/test-cwd-enoent-repl.js
Copy file name to clipboardExpand all lines: test/parallel/test-cwd-enoent-repl.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
test/parallel/test-cwd-enoent.js
Copy file name to clipboardExpand all lines: test/parallel/test-cwd-enoent.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
test/parallel/test-dgram-empty-packet.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-empty-packet.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | 12 | |
|
Collapse file
test/parallel/test-dgram-send-empty-array.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-empty-array.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
test/parallel/test-dgram-send-empty-buffer.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-empty-buffer.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
|
Collapse file
test/parallel/test-domain-abort-on-uncaught.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-abort-on-uncaught.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
233 | 233 | |
234 | 234 | |
235 | 235 | |
236 | | - |
| 236 | + |
237 | 237 | |
238 | 238 | |
239 | 239 | |
|
Collapse file
test/parallel/test-domain-no-error-handler-abort-on-uncaught.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-no-error-handler-abort-on-uncaught.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
144 | 144 | |
145 | 145 | |
146 | 146 | |
147 | | - |
| 147 | + |
148 | 148 | |
149 | 149 | |
150 | 150 | |
|
0 commit comments