summaryrefslogtreecommitdiff
path: root/cli/tools/test_runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/test_runner.rs')
-rw-r--r--cli/tools/test_runner.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs
index ddfad8199..c650b2d64 100644
--- a/cli/tools/test_runner.rs
+++ b/cli/tools/test_runner.rs
@@ -338,9 +338,10 @@ pub async fn run_tests(
let lines_regex = Regex::new(r"(?:\* ?)(?:\# ?)?(.*)")?;
for specifier in &doc_modules {
+ let mut fetch_permissions = Permissions::allow_all();
let file = program_state
.file_fetcher
- .fetch(&specifier, &mut permissions.clone())
+ .fetch(&specifier, &mut fetch_permissions)
.await?;
let parsed_module =