Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eb0c1cd

Browse filesBrowse files
Christine Hongaddaleax
authored andcommitted
test: refactor test-cluster-setup-master-argv
Change assert.equal to assert.strictEqual. PR-URL: #9993 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent d2e8927 commit eb0c1cd
Copy full SHA for eb0c1cd

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-cluster-setup-master-argv.js
+2-2Lines 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
var clusterArgs = cluster.settings.args;
1010
var realArgs = 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.