Use dprint for internal formatting (#6682)

This commit is contained in:
David Sherret 2020-07-14 15:24:17 -04:00 committed by GitHub
parent 9eca71caa1
commit cde4dbb351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
378 changed files with 3116 additions and 3121 deletions

View file

@ -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");