Add tslint to tests
This commit is contained in:
parent
34b0b525fc
commit
9810049f4c
21 changed files with 749 additions and 578 deletions
|
@ -9,9 +9,9 @@ describe('bufferutils', () => {
|
|||
fixtures.valid.forEach(f => {
|
||||
it('decodes ' + f.hex, () => {
|
||||
const buffer = Buffer.from(f.hex, 'hex');
|
||||
const number = bufferutils.readUInt64LE(buffer, 0);
|
||||
const num = bufferutils.readUInt64LE(buffer, 0);
|
||||
|
||||
assert.strictEqual(number, f.dec);
|
||||
assert.strictEqual(num, f.dec);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue