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: nodejs#24414
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ouyang Yadong <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
lshanmug authored and Trott committed Nov 18, 2018
1 parent 282c5cf commit 051e083
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 @@ -693,7 +693,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 051e083

Please sign in to comment.