From b52387237df6b103494a94c997af3fac7f7f6167 Mon Sep 17 00:00:00 2001 From: Andreas Moog Date: Sat, 12 May 2018 17:36:16 +0200 Subject: [PATCH] Fix coding style --- test/api-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api-test.js b/test/api-test.js index acc0c70..5f7f026 100644 --- a/test/api-test.js +++ b/test/api-test.js @@ -360,7 +360,7 @@ describe('IP library for node.js', function() { describe('private', function() { [ undefined, 'ipv4', 'ipv6' ].forEach(function(family) { - describe(family||'undefined', function() { + describe(family || 'undefined', function() { it('should respond with a private ip', function() { assert.ok(ip.isPrivate(ip.address('private', family))); }); @@ -373,7 +373,7 @@ describe('IP library for node.js', function() { Object.keys(interfaces).forEach(function(nic) { describe(nic, function() { [ undefined, 'ipv4' ].forEach(function(family) { - describe(family||'undefined', function() { + describe(family || 'undefined', function() { it('should respond with an ipv4 address', function() { var addr = ip.address(nic, family); assert.ok(!addr || net.isIPv4(addr));