summaryrefslogtreecommitdiff
path: root/cli/tests/unit/chown_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/chown_test.ts')
-rw-r--r--cli/tests/unit/chown_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/chown_test.ts b/cli/tests/unit/chown_test.ts
index 17dc76491..f37f26e09 100644
--- a/cli/tests/unit/chown_test.ts
+++ b/cli/tests/unit/chown_test.ts
@@ -105,7 +105,7 @@ Deno.test(
},
async function chownSyncSucceed() {
// TODO(bartlomieju): when a file's owner is actually being changed,
- // chown only succeeds if run under priviledged user (root)
+ // chown only succeeds if run under privileged user (root)
// The test script has no such privilege, so need to find a better way to test this case
const { uid, gid } = await getUidAndGid();
@@ -114,7 +114,7 @@ Deno.test(
Deno.writeTextFileSync(filePath, "Hello");
// the test script creates this file with the same uid and gid,
- // here chown is a noop so it succeeds under non-priviledged user
+ // here chown is a noop so it succeeds under non-privileged user
Deno.chownSync(filePath, uid, gid);
Deno.removeSync(dirPath, { recursive: true });
@@ -182,7 +182,7 @@ Deno.test(
await Deno.writeFile(fileUrl, fileData);
// the test script creates this file with the same uid and gid,
- // here chown is a noop so it succeeds under non-priviledged user
+ // here chown is a noop so it succeeds under non-privileged user
await Deno.chown(fileUrl, uid, gid);
Deno.removeSync(dirPath, { recursive: true });