diff options
Diffstat (limited to 'std/encoding/binary_test.ts')
-rw-r--r-- | std/encoding/binary_test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/encoding/binary_test.ts b/std/encoding/binary_test.ts index 6213bc2e3..89a5b8c8e 100644 --- a/std/encoding/binary_test.ts +++ b/std/encoding/binary_test.ts @@ -36,7 +36,7 @@ Deno.test("testPutVarbig", function (): void { putVarbig(buff, 0xffeeddccbbaa9988n); assertEquals( buff, - new Uint8Array([0xff, 0xee, 0xdd, 0xcc, 0xbb, 0xaa, 0x99, 0x88]) + new Uint8Array([0xff, 0xee, 0xdd, 0xcc, 0xbb, 0xaa, 0x99, 0x88]), ); }); @@ -45,7 +45,7 @@ Deno.test("testPutVarbigLittleEndian", function (): void { putVarbig(buff, 0x8899aabbccddeeffn, { endian: "little" }); assertEquals( buff, - new Uint8Array([0xff, 0xee, 0xdd, 0xcc, 0xbb, 0xaa, 0x99, 0x88]) + new Uint8Array([0xff, 0xee, 0xdd, 0xcc, 0xbb, 0xaa, 0x99, 0x88]), ); }); @@ -132,7 +132,7 @@ Deno.test("testWriteVarbig", async function (): Promise<void> { await buff.read(data); assertEquals( data, - new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]) + new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]), ); }); @@ -143,7 +143,7 @@ Deno.test("testWriteVarbigLittleEndian", async function (): Promise<void> { await buff.read(data); assertEquals( data, - new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]) + new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]), ); }); @@ -167,7 +167,7 @@ Deno.test("testVarbigBytes", function (): void { const rslt = varbigBytes(0x0102030405060708n); assertEquals( rslt, - new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]) + new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]), ); }); @@ -175,7 +175,7 @@ Deno.test("testVarbigBytesLittleEndian", function (): void { const rslt = varbigBytes(0x0807060504030201n, { endian: "little" }); assertEquals( rslt, - new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]) + new Uint8Array([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]), ); }); |