Skip to content

Commit 9ab440b

Browse files
author
Christine Hong
committed
test: change assert.equal to assert.strictEqual
Update file parallel/test-cluster-setup-master-argv.js equal compare assertion to strict. This will ensure the compare is matching the type as well.
1 parent 8264a22 commit 9ab440b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/parallel/test-cluster-setup-master-argv.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ setTimeout(common.fail.bind(assert, 'setup not emitted'), 1000).unref();
88
cluster.on('setup',function(){
99
varclusterArgs=cluster.settings.args;
1010
varrealArgs=process.argv;
11-
assert.equal(clusterArgs[clusterArgs.length-1],
12-
realArgs[realArgs.length-1]);
11+
assert.strictEqual(clusterArgs[clusterArgs.length-1],
12+
realArgs[realArgs.length-1]);
1313
});
1414

1515
assert.notStrictEqual(process.argv[process.argv.length-1],'OMG,OMG');

0 commit comments

Comments
(0)