diff options
Diffstat (limited to 'std/archive/tar_test.ts')
-rw-r--r-- | std/archive/tar_test.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/std/archive/tar_test.ts b/std/archive/tar_test.ts index cd22addcc..0df9956f2 100644 --- a/std/archive/tar_test.ts +++ b/std/archive/tar_test.ts @@ -15,7 +15,7 @@ import { Tar, Untar } from "./tar.ts"; const filePath = resolve("archive", "testdata", "example.txt"); -Deno.test(async function createTarArchive(): Promise<void> { +Deno.test("createTarArchive", async function (): Promise<void> { // initialize const tar = new Tar(); @@ -40,7 +40,7 @@ Deno.test(async function createTarArchive(): Promise<void> { assertEquals(wrote, 3072); }); -Deno.test(async function deflateTarArchive(): Promise<void> { +Deno.test("deflateTarArchive", async function (): Promise<void> { const fileName = "output.txt"; const text = "hello tar world!"; @@ -63,7 +63,9 @@ Deno.test(async function deflateTarArchive(): Promise<void> { assertEquals(untarText, text); }); -Deno.test(async function appendFileWithLongNameToTarArchive(): Promise<void> { +Deno.test("appendFileWithLongNameToTarArchive", async function (): Promise< + void +> { // 9 * 15 + 13 = 148 bytes const fileName = new Array(10).join("long-file-name/") + "file-name.txt"; const text = "hello tar world!"; |