summaryrefslogtreecommitdiff
path: root/cli/tests/unit/chown_test.ts
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /cli/tests/unit/chown_test.ts
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
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 });