summaryrefslogtreecommitdiff
path: root/test/parallel/test-dns.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-dns.js')
-rw-r--r--test/parallel/test-dns.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-dns.js b/test/parallel/test-dns.js
index 175ac10298..8041587677 100644
--- a/test/parallel/test-dns.js
+++ b/test/parallel/test-dns.js
@@ -164,7 +164,7 @@ assert.throws(() => dns.lookup('nodejs.org'),
assert.throws(() => dns.lookup('nodejs.org', 4),
/^TypeError: Invalid arguments: callback must be passed$/);
-assert.doesNotThrow(() => dns.lookup('', {family: 4, hints: 0},
+assert.doesNotThrow(() => dns.lookup('', { family: 4, hints: 0 },
common.mustCall()));
assert.doesNotThrow(() => {
@@ -174,7 +174,7 @@ assert.doesNotThrow(() => {
}, common.mustCall());
});
-assert.doesNotThrow(() => dns.lookup('', {hints: dns.V4MAPPED},
+assert.doesNotThrow(() => dns.lookup('', { hints: dns.V4MAPPED },
common.mustCall()));
assert.doesNotThrow(() => {