Skip to content

Commit

Permalink
squash: arrow function braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Jul 11, 2016
1 parent 00836cf commit 366eaac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-https-connect-address-family.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dns.lookup('localhost', {family: 6, all: true}, (err, addresses) => {
if (err)
throw err;

if (addresses.some((val) => { return val.address === '::1'; }))
if (addresses.some((val) => val.address === '::1'))
runTest();
else
common.skip('localhost does not resolve to ::1');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-tls-connect-address-family.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dns.lookup('localhost', {family: 6, all: true}, (err, addresses) => {
if (err)
throw err;

if (addresses.some((val) => { return val.address === '::1'; }))
if (addresses.some((val) => val.address === '::1'))
runTest();
else
common.skip('localhost does not resolve to ::1');
Expand Down

0 comments on commit 366eaac

Please sign in to comment.