Separate readUInt64LE fixtures from writeUInt64LE; add two more tests: "n < 0" & "0 < n < 1"
This commit is contained in:
parent
68fb3cdb11
commit
62bb17b045
2 changed files with 27 additions and 1 deletions
|
@ -42,7 +42,7 @@ describe('bufferutils', () => {
|
|||
});
|
||||
});
|
||||
|
||||
fixtures.invalid.readUInt64LE.forEach(f => {
|
||||
fixtures.invalid.writeUInt64LE.forEach(f => {
|
||||
it('throws on ' + f.description, () => {
|
||||
const buffer = Buffer.alloc(8, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue