diff --git a/test/internet/test-dns.js b/test/internet/test-dns.js index 5c53781fde4a69..1f6639b2d5ce6c 100644 --- a/test/internet/test-dns.js +++ b/test/internet/test-dns.js @@ -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); });