mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
d697ac404f
commit
2f731e5b5d
1 file changed
+2
-2
@@ -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);
|
||||
}));
|
||||
}
|
||||
Reference in new issue
Block a user