lint random.js

This commit is contained in:
Manuel Araoz 2014-12-19 19:32:26 -03:00
parent aa6ecfd79b
commit 4e775264fe
1 changed files with 6 additions and 3 deletions

View File

@ -21,11 +21,14 @@ describe('Random', function() {
it('should generate 100 8 byte buffers in a row that are not equal', function() {
var hexs = [];
for (var i = 0; i < 100; i++)
for (var i = 0; i < 100; i++) {
hexs[i] = Random.getRandomBuffer(8).toString('hex');
for (i = 0; i < 100; i++)
for (var j = i + 1; j < 100; j++)
}
for (i = 0; i < 100; i++) {
for (var j = i + 1; j < 100; j++) {
hexs[i].should.not.equal(hexs[j]);
}
}
});
});