Skip to content

Commit

Permalink
test: fixed the arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #24414
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
lshanmug authored and codebytere committed Jan 12, 2019
1 parent 6fcf565 commit 7262850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internet/test-dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ req.oncomplete = function(err, domains) {
process.on('exit', function() {
console.log(`${completed} tests completed`);
assert.strictEqual(running, false);
assert.strictEqual(expected, completed);
assert.strictEqual(completed, expected);
assert.ok(getaddrinfoCallbackCalled);
});

Expand Down

0 comments on commit 7262850

Please sign in to comment.