Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Ampelbein committed May 12, 2018
1 parent a6f847b commit b523872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
});
Expand All @@ -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));
Expand Down

0 comments on commit b523872

Please sign in to comment.