Skip to content

Commit

Permalink
Improve getmac test (#48804)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed May 28, 2018
1 parent f024f25 commit c6d1072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/test/node/id.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ suite('ID', () => {

test('getMachineId', function () {
return getMachineId().then(id => {
assert.ok(id);
assert.ok(/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/.test(id), `Expected a MAC address: ${id}`);
});
});
});

0 comments on commit c6d1072

Please sign in to comment.