summaryrefslogtreecommitdiff
path: root/std/fs/ensure_link_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/ensure_link_test.ts')
-rw-r--r--std/fs/ensure_link_test.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/std/fs/ensure_link_test.ts b/std/fs/ensure_link_test.ts
index 6e9804152..7549814a2 100644
--- a/std/fs/ensure_link_test.ts
+++ b/std/fs/ensure_link_test.ts
@@ -143,8 +143,7 @@ Deno.test(async function ensureLinkDirectoryIfItExist(): Promise<void> {
await assertThrowsAsync(
async (): Promise<void> => {
await ensureLink(testDir, linkDir);
- },
- Deno.DenoError
+ }
// "Operation not permitted (os error 1)" // throw an local matching test
// "Access is denied. (os error 5)" // throw in CI
);
@@ -163,8 +162,7 @@ Deno.test(function ensureLinkSyncDirectoryIfItExist(): void {
assertThrows(
(): void => {
ensureLinkSync(testDir, linkDir);
- },
- Deno.DenoError
+ }
// "Operation not permitted (os error 1)" // throw an local matching test
// "Access is denied. (os error 5)" // throw in CI
);