From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- std/fs/empty_dir_test.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'std/fs/empty_dir_test.ts') 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 { await assertThrowsAsync( async (): Promise => { await Deno.stat(testNestDir); - } + }, ); // test file have been removed await assertThrowsAsync( async (): Promise => { 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"); -- cgit v1.2.3