summaryrefslogtreecommitdiff
path: root/cli/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lib.rs')
-rw-r--r--cli/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lib.rs b/cli/lib.rs
index e646c4199..81fd8810e 100644
--- a/cli/lib.rs
+++ b/cli/lib.rs
@@ -429,7 +429,7 @@ async fn test_command(
let global_state = create_global_state(flags.clone());
let cwd = std::env::current_dir().expect("No current directory");
let include = include.unwrap_or_else(|| vec![".".to_string()]);
- let res = test_runner::prepare_test_modules_urls(include, cwd.clone());
+ let res = test_runner::prepare_test_modules_urls(include, &cwd);
let test_modules = match res {
Ok(modules) => modules,