mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
Use dprint for internal formatting (#6682)
This commit is contained in:
parent
9eca71caa1
commit
cde4dbb351
378 changed files with 3116 additions and 3121 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue