Skip to content

Commit e070588

Browse files
WesTyleraddaleax
authored andcommitted
test: refactor test-child-process-stdio-inherit
assert.equal() -> assert.strictEqual() PR-URL: #9893 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 22b15f2 commit e070588

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines 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)