mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests/readlink: follow clippy advice
This commit is contained in:
parent
df403334c0
commit
e826ab5f0f
1 changed files with 21 additions and 22 deletions
|
@ -297,7 +297,7 @@ fn test_canonicalize_trailing_slash_subdir_missing() {
|
|||
let at = &scene.fixtures;
|
||||
at.mkdir("subdir");
|
||||
at.relative_symlink_file("subdir/missing", "link4");
|
||||
for name in ["link4"] {
|
||||
let name = "link4";
|
||||
scene
|
||||
.ucmd()
|
||||
.args(&["-f", name])
|
||||
|
@ -319,7 +319,6 @@ fn test_canonicalize_trailing_slash_subdir_missing() {
|
|||
.fails()
|
||||
.code_is(1);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_canonicalize_trailing_slash_symlink_loop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue