diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/bytes/test.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/bytes/test.ts')
-rw-r--r-- | std/bytes/test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/bytes/test.ts b/std/bytes/test.ts index 25af2a35b..6dffad17f 100644 --- a/std/bytes/test.ts +++ b/std/bytes/test.ts @@ -17,7 +17,7 @@ import { encode, decode } from "../encoding/utf8.ts"; Deno.test("[bytes] findIndex1", () => { const i = findIndex( new Uint8Array([1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 3]), - new Uint8Array([0, 1, 2]) + new Uint8Array([0, 1, 2]), ); assertEquals(i, 2); }); @@ -35,7 +35,7 @@ Deno.test("[bytes] findIndex3", () => { Deno.test("[bytes] findLastIndex1", () => { const i = findLastIndex( new Uint8Array([0, 1, 2, 0, 1, 2, 0, 1, 3]), - new Uint8Array([0, 1, 2]) + new Uint8Array([0, 1, 2]), ); assertEquals(i, 3); }); @@ -80,12 +80,12 @@ Deno.test("[bytes] repeat", () => { repeat(new TextEncoder().encode(input as string), count as number); }, Error, - errMsg as string + errMsg as string, ); } else { const newBytes = repeat( new TextEncoder().encode(input as string), - count as number + count as number, ); assertEquals(new TextDecoder().decode(newBytes), output); |