summaryrefslogtreecommitdiff
path: root/std/archive
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-28 12:33:09 +0200
committerGitHub <noreply@github.com>2020-04-28 12:33:09 +0200
commit8feb30e3258ed9690eb850e3ca22842b260a0403 (patch)
tree6805bfe3df675c2c7f6a379093061c6b73d8365a /std/archive
parentb508e845671de9351c3f51755647371d76128d29 (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.ts8
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!";