summaryrefslogtreecommitdiff
path: root/std/io/ioutil_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/io/ioutil_test.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/io/ioutil_test.ts')
-rw-r--r--std/io/ioutil_test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/std/io/ioutil_test.ts b/std/io/ioutil_test.ts
index dfdda23fb..69f76f691 100644
--- a/std/io/ioutil_test.ts
+++ b/std/io/ioutil_test.ts
@@ -38,7 +38,7 @@ Deno.test("testReadInt", async function (): Promise<void> {
Deno.test("testReadLong", async function (): Promise<void> {
const r = new BinaryReader(
- new Uint8Array([0x00, 0x00, 0x00, 0x78, 0x12, 0x34, 0x56, 0x78])
+ new Uint8Array([0x00, 0x00, 0x00, 0x78, 0x12, 0x34, 0x56, 0x78]),
);
const long = await readLong(new BufReader(r));
assertEquals(long, 0x7812345678);
@@ -46,7 +46,7 @@ Deno.test("testReadLong", async function (): Promise<void> {
Deno.test("testReadLong2", async function (): Promise<void> {
const r = new BinaryReader(
- new Uint8Array([0, 0, 0, 0, 0x12, 0x34, 0x56, 0x78])
+ new Uint8Array([0, 0, 0, 0, 0x12, 0x34, 0x56, 0x78]),
);
const long = await readLong(new BufReader(r));
assertEquals(long, 0x12345678);
@@ -58,9 +58,9 @@ Deno.test("testSliceLongToBytes", function (): void {
const expected = readLong(
new BufReader(
new BinaryReader(
- new Uint8Array([0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef])
- )
- )
+ new Uint8Array([0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef]),
+ ),
+ ),
);
assertEquals(actual, expected);
});