test: refactor test-child-fork-exec-path.js
Changed equal to strictEqual PR-URL: https://github.com/nodejs/node/pull/9982 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
95ac3bdfea
commit
108314b48f
@ -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 {
|
||||
@ -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);
|
||||
}));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user