From a7335bd1f048f6592f609eec0c87c007e98d754c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 19 Apr 2016 15:37:45 -0700 Subject: test,benchmark: use deepStrictEqual() In preparation for a lint rule that will enforce assert.deepStrictEqual() over assert.deepEqual(), change tests and benchmarks accordingly. For tests and benchmarks that are testing or benchmarking assert.deepEqual() itself, apply a comment to ignore the upcoming rule. PR-URL: https://github.com/nodejs/node/pull/6213 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- test/parallel/test-child-process-spawn-error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel/test-child-process-spawn-error.js') diff --git a/test/parallel/test-child-process-spawn-error.js b/test/parallel/test-child-process-spawn-error.js index 4eaa45ee7a..e80955635e 100644 --- a/test/parallel/test-child-process-spawn-error.js +++ b/test/parallel/test-child-process-spawn-error.js @@ -15,7 +15,7 @@ enoentChild.on('error', function(err) { assert.equal(err.errno, 'ENOENT'); assert.equal(err.syscall, 'spawn ' + enoentPath); assert.equal(err.path, enoentPath); - assert.deepEqual(err.spawnargs, spawnargs); + assert.deepStrictEqual(err.spawnargs, spawnargs); errors++; }); -- cgit v1.2.1