Skip to content

Commit dfd022f

Browse files
matzavinosFishrock123
authored andcommitted
test: update test/parallel/test-child-process-stdio.js
Refs: nodejs/code-and-learn#56(comment) Replace the equal assetion with strictEqual. Replace the notEqual assertion with strictNotEqual. PR-URL: #8584 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
1 parent fef4341 commit dfd022f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const assert = require('assert');
55
let options = {stdio: ['pipe']};
66
let child = common.spawnPwd(options);
77

8-
assert.notEqual(child.stdout, null);
9-
assert.notEqual(child.stderr, null);
8+
assert.notStrictEqual(child.stdout, null);
9+
assert.notStrictEqual(child.stderr, null);
1010

1111
options = {stdio: 'ignore'};
1212
child = common.spawnPwd(options);
1313

14-
assert.equal(child.stdout, null);
15-
assert.equal(child.stderr, null);
14+
assert.strictEqual(child.stdout, null);
15+
assert.strictEqual(child.stderr, null);
1616

1717
options = {stdio: 'ignore'};
1818
child = common.spawnSyncCat(options);

0 commit comments

Comments
 (0)