diff options
| author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2021-03-17 22:45:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-17 17:45:12 -0400 |
| commit | 0e70d9e59bc0e70f1921bb217ee00fc2e6facb69 (patch) | |
| tree | d501399bd07855148ce817c568e7228bdfd87d87 /cli/tests/unit | |
| parent | b3fe85163f303a1592335b23c25554dd0e39a4c4 (diff) | |
refactor: clean up permission handling (#9367)
Diffstat (limited to 'cli/tests/unit')
| -rw-r--r-- | cli/tests/unit/dir_test.ts | 2 | ||||
| -rw-r--r-- | cli/tests/unit/os_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/dir_test.ts b/cli/tests/unit/dir_test.ts index 75a41dd40..e64baf97b 100644 --- a/cli/tests/unit/dir_test.ts +++ b/cli/tests/unit/dir_test.ts @@ -44,7 +44,7 @@ unitTest({ perms: { read: false } }, function dirCwdPermError(): void { Deno.cwd(); }, Deno.errors.PermissionDenied, - "read access to <CWD>, run again with the --allow-read flag", + "Requires read access to <CWD>, run again with the --allow-read flag", ); }); diff --git a/cli/tests/unit/os_test.ts b/cli/tests/unit/os_test.ts index 5786ad32e..9b0f71352 100644 --- a/cli/tests/unit/os_test.ts +++ b/cli/tests/unit/os_test.ts @@ -158,7 +158,7 @@ unitTest({ perms: { read: false } }, function execPathPerm(): void { Deno.execPath(); }, Deno.errors.PermissionDenied, - "read access to <exec_path>, run again with the --allow-read flag", + "Requires read access to <exec_path>, run again with the --allow-read flag", ); }); |
