summaryrefslogtreecommitdiff
path: root/cli/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-17 19:11:45 +0100
committerGitHub <noreply@github.com>2020-02-17 13:11:45 -0500
commit95563476f604c33e91d66e164e7a804c356c0802 (patch)
tree512a0812fb30f1cb0eea7f481177b41e9601c1a8 /cli/lib.rs
parent19080667534954ac75caa1bcf34e3a55d5d55e4c (diff)
fix(deno test): support directories as arguments (#4011)
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,