diff options
author | Sebastiaan Deckers <sebdeckers83@gmail.com> | 2017-07-10 20:55:21 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-07-21 15:13:47 -0400 |
commit | bb294059040def8e8c0b1719cc17f6537ab5cb39 (patch) | |
tree | acc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/internet/test-dns-ipv4.js | |
parent | 4f875222445b07016a8294fa5a5bf7418c735489 (diff) | |
download | node-new-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz |
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/internet/test-dns-ipv4.js')
-rw-r--r-- | test/internet/test-dns-ipv4.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/internet/test-dns-ipv4.js b/test/internet/test-dns-ipv4.js index 4d4c7da6a7..d3d5ba2200 100644 --- a/test/internet/test-dns-ipv4.js +++ b/test/internet/test-dns-ipv4.js @@ -155,7 +155,7 @@ TEST(function test_lookup_localhost_ipv4(done) { TEST(function test_lookup_all_ipv4(done) { const req = dns.lookup( 'www.google.com', - {all: true, family: 4}, + { all: true, family: 4 }, common.mustCall((err, ips) => { assert.ifError(err); assert.ok(Array.isArray(ips)); @@ -190,7 +190,7 @@ TEST(function test_lookupservice_ip_ipv4(done) { TEST(function test_lookupservice_ip_ipv4_promise(done) { util.promisify(dns.lookupService)('127.0.0.1', 80) - .then(common.mustCall(({hostname, service}) => { + .then(common.mustCall(({ hostname, service }) => { assert.strictEqual(typeof hostname, 'string'); assert(hostname.length > 0); assert(['http', 'www', '80'].includes(service)); |