mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Fix some clippy warnings
Fixed with `cargo clippy --features unix --fix` and manually
This commit is contained in:
parent
32b1fc6420
commit
6e14dea73b
32 changed files with 122 additions and 126 deletions
|
@ -282,7 +282,7 @@ fn test_filter_with_env_var_set() {
|
|||
RandomFile::new(&at, name).add_lines(n_lines);
|
||||
|
||||
let env_var_value = "some-value";
|
||||
env::set_var("FILE", &env_var_value);
|
||||
env::set_var("FILE", env_var_value);
|
||||
ucmd.args(&[format!("--filter={}", "cat > $FILE").as_str(), name])
|
||||
.succeeds();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue