touchup some clippy warnings in tests (#6612)

This commit is contained in:
JT
2022-09-26 09:06:13 +13:00
committed by GitHub
parent b47bd22b37
commit 43905caa46
5 changed files with 9 additions and 9 deletions

View File

@ -149,7 +149,7 @@ fn can_source_dynamic_path() {
Playground::setup("can_source_dynamic_path", |dirs, sandbox| {
let foo_file = "foo.nu";
sandbox.with_files(vec![FileWithContent(&foo_file, "echo foo")]);
sandbox.with_files(vec![FileWithContent(foo_file, "echo foo")]);
let cmd = format!("let file = `{}`; source-env $file", foo_file);
let actual = nu!(cwd: dirs.test(), &cmd);