summaryrefslogtreecommitdiff
path: root/std/fs/ensure_dir_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/ensure_dir_test.ts')
-rw-r--r--std/fs/ensure_dir_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/std/fs/ensure_dir_test.ts b/std/fs/ensure_dir_test.ts
index d70f5eb1a..c24e14d1a 100644
--- a/std/fs/ensure_dir_test.ts
+++ b/std/fs/ensure_dir_test.ts
@@ -17,7 +17,7 @@ Deno.test("ensureDirIfItNotExist", async function (): Promise<void> {
await Deno.stat(testDir).then((): void => {
throw new Error("test dir should exists.");
});
- }
+ },
);
await Deno.remove(baseDir, { recursive: true });
@@ -48,7 +48,7 @@ Deno.test("ensureDirIfItExist", async function (): Promise<void> {
await Deno.stat(testDir).then((): void => {
throw new Error("test dir should still exists.");
});
- }
+ },
);
await Deno.remove(baseDir, { recursive: true });
@@ -82,7 +82,7 @@ Deno.test("ensureDirIfItAsFile", async function (): Promise<void> {
await ensureDir(testFile);
},
Error,
- `Ensure path exists, expected 'dir', got 'file'`
+ `Ensure path exists, expected 'dir', got 'file'`,
);
await Deno.remove(baseDir, { recursive: true });
@@ -99,7 +99,7 @@ Deno.test("ensureDirSyncIfItAsFile", function (): void {
ensureDirSync(testFile);
},
Error,
- `Ensure path exists, expected 'dir', got 'file'`
+ `Ensure path exists, expected 'dir', got 'file'`,
);
Deno.removeSync(baseDir, { recursive: true });