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 rvagg committed Nov 28, 2018
1 parent 5c4f569 commit 6dd2925
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 6dd2925

Please sign in to comment.