diff options
Diffstat (limited to 'std/encoding/ascii85_test.ts')
-rw-r--r-- | std/encoding/ascii85_test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/encoding/ascii85_test.ts b/std/encoding/ascii85_test.ts index cea939faf..b6d77a8ff 100644 --- a/std/encoding/ascii85_test.ts +++ b/std/encoding/ascii85_test.ts @@ -3,7 +3,7 @@ import { assertEquals } from "../testing/asserts.ts"; import { Ascii85Standard, decode, encode } from "./ascii85.ts"; type TestCases = Partial<{ [index in Ascii85Standard]: string[][] }>; const utf8encoder = new TextEncoder(); -const testCasesNoDelimeter: TestCases = { +const testCasesNoDelimiter: TestCases = { Adobe: [ ["test", "FCfN8"], ["ascii85", "@<5pmBfIs"], @@ -76,7 +76,7 @@ const testCasesNoDelimeter: TestCases = { [" ", "arR^H"], ], }; -const testCasesDelimeter: TestCases = { +const testCasesDelimiter: TestCases = { Adobe: [ ["test", "<~FCfN8~>"], ["ascii85", "<~@<5pmBfIs~>"], @@ -116,7 +116,7 @@ const testCasesDelimeter: TestCases = { ], }; -for (const [standard, tests] of Object.entries(testCasesNoDelimeter)) { +for (const [standard, tests] of Object.entries(testCasesNoDelimiter)) { if (tests === undefined) continue; Deno.test({ name: `[encoding/ascii85] encode ${standard}`, @@ -144,10 +144,10 @@ for (const [standard, tests] of Object.entries(testCasesNoDelimeter)) { }, }); } -for (const [standard, tests] of Object.entries(testCasesDelimeter)) { +for (const [standard, tests] of Object.entries(testCasesDelimiter)) { if (tests === undefined) continue; Deno.test({ - name: `[encoding/ascii85] encode ${standard} with delimeter`, + name: `[encoding/ascii85] encode ${standard} with delimiter`, fn(): void { for (const [bin, b85] of tests) { assertEquals( @@ -162,7 +162,7 @@ for (const [standard, tests] of Object.entries(testCasesDelimeter)) { }); Deno.test({ - name: `[encoding/ascii85] decode ${standard} with delimeter`, + name: `[encoding/ascii85] decode ${standard} with delimiter`, fn(): void { for (const [bin, b85] of tests) { assertEquals( |