Browse Source

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>
v6
hirabhullar 8 years ago
committed by Rich Trott
parent
commit
108314b48f
  1. 4
      test/parallel/test-child-process-fork-exec-path.js

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

@ -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…
Cancel
Save