Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d35930

Browse filesBrowse files
julianduqueaddaleax
authored andcommitted
test: replace equal with strictEqual
Replace assert.equal with assert.strictEqual PR-URL: #9879 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 13cc6a0 commit 3d35930
Copy full SHA for 3d35930

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-child-process-validate-stdio.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-validate-stdio.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ assert.throws(function() {
1919
{
2020
const stdio1 = [];
2121
const result = _validateStdio(stdio1, false);
22-
assert.equal(stdio1.length, 3);
23-
assert.equal(result.hasOwnProperty('stdio'), true);
24-
assert.equal(result.hasOwnProperty('ipc'), true);
25-
assert.equal(result.hasOwnProperty('ipcFd'), true);
22+
assert.strictEqual(stdio1.length, 3);
23+
assert.strictEqual(result.hasOwnProperty('stdio'), true);
24+
assert.strictEqual(result.hasOwnProperty('ipc'), true);
25+
assert.strictEqual(result.hasOwnProperty('ipcFd'), true);
2626
}
2727

2828
// should throw if stdio has ipc and sync is true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.