mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
clippy: fix redundant_clone lint warnings in tests
This commit is contained in:
parent
2ee782fcf1
commit
29e5d0b42b
4 changed files with 19 additions and 19 deletions
|
@ -165,7 +165,7 @@ fn test_chroot_skip_chdir_not_root() {
|
|||
#[test]
|
||||
fn test_chroot_skip_chdir() {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let at = ts.fixtures.clone();
|
||||
let at = &ts.fixtures;
|
||||
let dirs = ["/", "/.", "/..", "isroot"];
|
||||
at.symlink_file("/", "isroot");
|
||||
for dir in dirs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue