summaryrefslogtreecommitdiff
path: root/cli/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit')
-rw-r--r--cli/tests/unit/dir_test.ts2
-rw-r--r--cli/tests/unit/os_test.ts2
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",
);
});