Skip to content

Commit

Permalink
test: refactor test-cluster-setup-master-argv
Browse files Browse the repository at this point in the history
Change assert.equal to assert.strictEqual.

PR-URL: #9993
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Christine Hong authored and addaleax committed Dec 8, 2016
1 parent e75f814 commit 5009de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-setup-master-argv.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ setTimeout(common.fail.bind(assert, 'setup not emitted'), 1000).unref();
cluster.on('setup', function() {
var clusterArgs = cluster.settings.args;
var realArgs = process.argv;
assert.equal(clusterArgs[clusterArgs.length - 1],
realArgs[realArgs.length - 1]);
assert.strictEqual(clusterArgs[clusterArgs.length - 1],
realArgs[realArgs.length - 1]);
});

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

0 comments on commit 5009de4

Please sign in to comment.