summaryrefslogtreecommitdiff
path: root/std/fs/empty_dir_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/fs/empty_dir_test.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/fs/empty_dir_test.ts')
-rw-r--r--std/fs/empty_dir_test.ts11
1 files changed, 7 insertions, 4 deletions
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts
index e0e4c58fa..6c06c9d52 100644
--- a/std/fs/empty_dir_test.ts
+++ b/std/fs/empty_dir_test.ts
@@ -71,14 +71,14 @@ Deno.test("emptyDirIfItExist", async function (): Promise<void> {
await assertThrowsAsync(
async (): Promise<void> => {
await Deno.stat(testNestDir);
- }
+ },
);
// test file have been removed
await assertThrowsAsync(
async (): Promise<void> => {
await Deno.stat(testDirFile);
- }
+ },
);
} finally {
// remote test dir
@@ -199,7 +199,7 @@ for (const s of scenes) {
await Deno.writeFile(
path.join(testfolder, "child.txt"),
- new TextEncoder().encode("hello world")
+ new TextEncoder().encode("hello world"),
);
try {
@@ -215,7 +215,10 @@ for (const s of scenes) {
}
args.push(
- path.join(testdataDir, s.async ? "empty_dir.ts" : "empty_dir_sync.ts")
+ path.join(
+ testdataDir,
+ s.async ? "empty_dir.ts" : "empty_dir_sync.ts",
+ ),
);
args.push("testfolder");