Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: add mac to test-os
Browse files Browse the repository at this point in the history
Fix test from 30701d6.
  • Loading branch information
trevnorris committed Aug 1, 2013
1 parent dda22a5 commit 76ada45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/simple/test-os.js
Expand Up @@ -86,7 +86,8 @@ switch (platform) {
var filter = function(e) { return e.address == '127.0.0.1'; };
var actual = interfaces.lo.filter(filter);
var expected = [{ address: '127.0.0.1', netmask: '255.0.0.0',
family: 'IPv4', internal: true }];
mac: '00:00:00:00:00:00', family: 'IPv4',
internal: true }];
assert.deepEqual(actual, expected);
break;
case 'win32':
Expand All @@ -96,7 +97,8 @@ switch (platform) {
// default to /32 here. We could put in a special case to force
// to /8 if desired.
var expected = [{ address: '127.0.0.1', netmask: '255.255.255.255',
family: 'IPv4', internal: true }];
mac: '00:00:00:00:00:00', family: 'IPv4',
internal: true }];
assert.deepEqual(actual, expected);
break;
}
Expand Down

0 comments on commit 76ada45

Please sign in to comment.