From 2f731e5b5df6dfd4a0cbfde304d71e2adf137c87 Mon Sep 17 00:00:00 2001 From: hirabhullar Date: Thu, 1 Dec 2016 09:01:51 -0800 Subject: [PATCH] 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 Reviewed-By: James M Snell --- test/parallel/test-child-process-fork-exec-path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-child-process-fork-exec-path.js b/test/parallel/test-child-process-fork-exec-path.js index e42b72f2b85886..e2f7e4b4d20eef 100644 --- a/test/parallel/test-child-process-fork-exec-path.js +++ b/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); })); }