summaryrefslogtreecommitdiff
path: root/tests/integration/compile_tests.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-09-10 20:12:24 +0200
committerGitHub <noreply@github.com>2024-09-10 11:12:24 -0700
commit7bfcb4dd10d31f5f9566c90a28449c0951f3a48e (patch)
treefca0dec6e98118418f1712c6e8451a04c7e89988 /tests/integration/compile_tests.rs
parentbe5419d479fcae16c8a07dec00ce11b532b7996a (diff)
feat(cli): use NotCapable error for permission errors (#25431)
Closes #7394 --------- Co-authored-by: snek <snek@deno.com>
Diffstat (limited to 'tests/integration/compile_tests.rs')
-rw-r--r--tests/integration/compile_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/compile_tests.rs b/tests/integration/compile_tests.rs
index 54a82b913..215b956fd 100644
--- a/tests/integration/compile_tests.rs
+++ b/tests/integration/compile_tests.rs
@@ -367,7 +367,7 @@ fn standalone_runtime_flags() {
.run()
.assert_stdout_matches_text("0.147205063401058\n")
.assert_stderr_matches_text(
- "[WILDCARD]PermissionDenied: Requires write access to[WILDCARD]",
+ "[WILDCARD]NotCapable: Requires write access to[WILDCARD]",
)
.assert_exit_code(1);
}