From 99562f962aae75c2d5aecd7866c81529c6ad167d Mon Sep 17 00:00:00 2001 From: stokingerl Date: Thu, 1 Dec 2016 10:39:06 -0600 Subject: [PATCH] test: swap assert.equal -> assert.strictEqual Change instances of assert.equal to assert.strictEqual --- test/parallel/test-child-process-spawn-error.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/parallel/test-child-process-spawn-error.js b/test/parallel/test-child-process-spawn-error.js index eaf9c1303966a5..1a9de1e18b523b 100644 --- a/test/parallel/test-child-process-spawn-error.js +++ b/test/parallel/test-child-process-spawn-error.js @@ -5,13 +5,13 @@ var assert = require('assert'); var enoentPath = 'foo123'; var spawnargs = ['bar']; -assert.equal(common.fileExists(enoentPath), false); +assert.strictEqual(common.fileExists(enoentPath), false); var enoentChild = spawn(enoentPath, spawnargs); enoentChild.on('error', common.mustCall(function(err) { - assert.equal(err.code, 'ENOENT'); - assert.equal(err.errno, 'ENOENT'); - assert.equal(err.syscall, 'spawn ' + enoentPath); - assert.equal(err.path, enoentPath); + assert.strictEqual(err.code, 'ENOENT'); + assert.strictEqual(err.errno, 'ENOENT'); + assert.strictEqual(err.syscall, 'spawn ' + enoentPath); + assert.strictEqual(err.path, enoentPath); assert.deepStrictEqual(err.spawnargs, spawnargs); }));