diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:33:09 +0200 |
commit | 8feb30e3258ed9690eb850e3ca22842b260a0403 (patch) | |
tree | 6805bfe3df675c2c7f6a379093061c6b73d8365a /std/archive | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'std/archive')
-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!"; |