mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +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
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue