aboutsummaryrefslogtreecommitdiff
path: root/test/internet/test-dns-ipv4.js
diff options
context:
space:
mode:
authorSebastiaan Deckers <sebdeckers83@gmail.com>2017-07-10 20:55:21 -0400
committerRefael Ackermann <refack@gmail.com>2017-07-21 15:13:47 -0400
commitbb294059040def8e8c0b1719cc17f6537ab5cb39 (patch)
treeacc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/internet/test-dns-ipv4.js
parent4f875222445b07016a8294fa5a5bf7418c735489 (diff)
downloadandroid-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip
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.js4
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));