diff --git a/test/internet/test-dns.js b/test/internet/test-dns.js index 4608713927abbd..e4d863a77d5e7a 100644 --- a/test/internet/test-dns.js +++ b/test/internet/test-dns.js @@ -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); });