Skip to content

Commit

Permalink
test: refactor test-child-fork-exec-path.js
Browse files Browse the repository at this point in the history
Changed equal to strictEqual

PR-URL: nodejs#9982
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
hirabhullar authored and addaleax committed Dec 8, 2016
1 parent 050bae6 commit c506b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-fork-exec-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var copyPath = path.join(common.tmpDir, 'node-copy.exe');

if (process.env.FORK) {
assert(process.send);
assert.equal(process.argv[0], copyPath);
assert.strictEqual(process.argv[0], copyPath);
process.send(msg);
process.exit();
} else {
Expand All @@ -34,6 +34,6 @@ if (process.env.FORK) {
}));
child.on('exit', common.mustCall(function(code) {
fs.unlinkSync(copyPath);
assert.equal(code, 0);
assert.strictEqual(code, 0);
}));
}

0 comments on commit c506b7b

Please sign in to comment.