summaryrefslogtreecommitdiff
path: root/std/bytes/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/bytes/test.ts')
-rw-r--r--std/bytes/test.ts8
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);