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 e070588

Browse filesBrowse files
WesTyleraddaleax
authored andcommitted
test: refactor test-child-process-stdio-inherit
assert.equal() -> assert.strictEqual() PR-URL: #9893 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 22b15f2 commit e070588
Copy full SHA for e070588

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

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

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-stdio-inherit.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ function grandparent() {
2222
child.stdin.end(input);
2323

2424
child.on('close', function(code, signal) {
25-
assert.equal(code, 0);
26-
assert.equal(signal, null);
25+
assert.strictEqual(code, 0);
26+
assert.strictEqual(signal, null);
2727
// cat on windows adds a \r\n at the end.
28-
assert.equal(output.trim(), input.trim());
28+
assert.strictEqual(output.trim(), input.trim());
2929
});
3030
}
3131

0 commit comments

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