summaryrefslogtreecommitdiff
path: root/tests/unit/chown_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/chown_test.ts')
-rw-r--r--tests/unit/chown_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/chown_test.ts b/tests/unit/chown_test.ts
index 033d4592d..eda4d3403 100644
--- a/tests/unit/chown_test.ts
+++ b/tests/unit/chown_test.ts
@@ -26,7 +26,7 @@ Deno.test(
const filePath = "chown_test_file.txt";
await assertRejects(async () => {
await Deno.chown(filePath, 1000, 1000);
- }, Deno.errors.PermissionDenied);
+ }, Deno.errors.NotCapable);
},
);