diff --git a/tests/testcfg/mod.rs b/tests/testcfg/mod.rs index 43bd7047..6083f0aa 100644 --- a/tests/testcfg/mod.rs +++ b/tests/testcfg/mod.rs @@ -130,7 +130,7 @@ impl TestCfg { .args(args) .current_dir(&self.home) .env("HOME", &self.home) - .env("CARGO_HOME", &self.home.join(".cargo")) + .env("CARGO_HOME", self.home.join(".cargo")) .env( "PATH", format!(