Skip to content

Commit c506b7b

Browse files
hirabhullaraddaleax
authored andcommitted
test: refactor test-child-fork-exec-path.js
Changed equal to strictEqual PR-URL: #9982 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 050bae6 commit c506b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-child-process-fork-exec-path.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var copyPath = path.join(common.tmpDir, 'node-copy.exe');
99

1010
if (process.env.FORK) {
1111
assert(process.send);
12-
assert.equal(process.argv[0], copyPath);
12+
assert.strictEqual(process.argv[0], copyPath);
1313
process.send(msg);
1414
process.exit();
1515
} else {
@@ -34,6 +34,6 @@ if (process.env.FORK) {
3434
}));
3535
child.on('exit', common.mustCall(function(code) {
3636
fs.unlinkSync(copyPath);
37-
assert.equal(code, 0);
37+
assert.strictEqual(code, 0);
3838
}));
3939
}

0 commit comments

Comments
 (0)