summaryrefslogtreecommitdiff
path: root/test/fixtures/cluster-preload.js
diff options
context:
space:
mode:
authorabouthiroppy <git@about-hiroppy.com>2017-01-09 15:58:37 +0900
committerItalo A. Casas <me@italoacasas.com>2017-01-10 16:57:48 -0500
commitda9684392051eeb9162340f95e31b9c5f02b170d (patch)
treeaf2629b4ecdf7a48c0a4260c90d9ab2b66c518e4 /test/fixtures/cluster-preload.js
parenteb0df4a9b94473091e3afb18071c2466187502c1 (diff)
downloadandroid-node-v8-da9684392051eeb9162340f95e31b9c5f02b170d.tar.gz
android-node-v8-da9684392051eeb9162340f95e31b9c5f02b170d.tar.bz2
android-node-v8-da9684392051eeb9162340f95e31b9c5f02b170d.zip
test: refactor cluster-preload.js
PR-URL: https://github.com/nodejs/node/pull/10701 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
Diffstat (limited to 'test/fixtures/cluster-preload.js')
-rw-r--r--test/fixtures/cluster-preload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixtures/cluster-preload.js b/test/fixtures/cluster-preload.js
index 26d81d8b7a..bb38793b65 100644
--- a/test/fixtures/cluster-preload.js
+++ b/test/fixtures/cluster-preload.js
@@ -5,7 +5,7 @@ const assert = require('assert');
// module search paths initialized from the current working directory
assert.ok(module.parent);
const expectedPaths = require('module')._nodeModulePaths(process.cwd());
-assert.deepEqual(module.parent.paths, expectedPaths);
+assert.deepStrictEqual(module.parent.paths, expectedPaths);
const cluster = require('cluster');
cluster.isMaster || process.exit(42 + cluster.worker.id); // +42 to distinguish