mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
fix a clippy warning
WARNING: `cargo clippy`: single-character string constant used as pattern
This commit is contained in:
parent
dfdd627763
commit
69850942b6
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ fn test_du_d_flag() {
|
||||||
// TODO: gnu `du` doesn't use trailing "/" here
|
// TODO: gnu `du` doesn't use trailing "/" here
|
||||||
// result.stdout_str(), result_reference.stdout_str()
|
// result.stdout_str(), result_reference.stdout_str()
|
||||||
result.stdout_str().trim_end_matches("/\n"),
|
result.stdout_str().trim_end_matches("/\n"),
|
||||||
result_reference.stdout_str().trim_end_matches("\n")
|
result_reference.stdout_str().trim_end_matches('\n')
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue