summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/execution.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-04-30 16:51:31 -0400
committerGitHub <noreply@github.com>2023-04-30 16:51:31 -0400
commit9a9473533e70987e922ddd5ff8da915815e37d03 (patch)
tree1e5e742ba028d20ee6c07aa0dd5c80d1cb8e026f /cli/lsp/testing/execution.rs
parent96e214d9d0a18a77256f3fcce755dec03fdb49b5 (diff)
refactor(cli): remove `Clone` on `ProcState` (#18874)
Slowly phasing this out.
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r--cli/lsp/testing/execution.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs
index b7859ebda..5dfb31013 100644
--- a/cli/lsp/testing/execution.rs
+++ b/cli/lsp/testing/execution.rs
@@ -225,7 +225,9 @@ impl TestRun {
let permissions =
Permissions::from_options(&ps.options.permissions_options())?;
test::check_specifiers(
- &ps,
+ &ps.options,
+ &ps.file_fetcher,
+ &ps.module_load_preparer,
self
.queue
.iter()
@@ -257,7 +259,7 @@ impl TestRun {
let tests: Arc<RwLock<IndexMap<usize, test::TestDescription>>> =
Arc::new(RwLock::new(IndexMap::new()));
let mut test_steps = IndexMap::new();
- let worker_factory = Arc::new(ps.into_cli_main_worker_factory());
+ let worker_factory = Arc::new(ps.create_cli_main_worker_factory());
let join_handles = queue.into_iter().map(move |specifier| {
let specifier = specifier.clone();