Commit a64af39
test: remove duplicate required module
`common` is required twice in test-setproctitle.js. Remove one of the
instances.
Other refactoring:
* var -> const and let
* assert.equal -> assert.strictEqual
* assert.notEqual -> assert.notStrickEqual
* string concatenation -> template string
* use of assert.ifError() instead of asserting error is null
PR-URL: #9169
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent a038fcc commit a64af39Copy full SHA for a64af39
File tree
Expand file treeCollapse file tree
1 file changed
+10
-10
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-10
lines changedOpen diff view settings
Collapse file
test/parallel/test-setproctitle.js
Copy file name to clipboardExpand all lines: test/parallel/test-setproctitle.js+10-10Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | | - |
13 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
0 commit comments