mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix a clippy warning
WARNING: `cargo clippy`: single-character string constant used as pattern
This commit is contained in:
@@ -187,7 +187,7 @@ fn test_du_d_flag() {
|
||||
// TODO: gnu `du` doesn't use trailing "/" here
|
||||
// result.stdout_str(), result_reference.stdout_str()
|
||||
result.stdout_str().trim_end_matches("/\n"),
|
||||
result_reference.stdout_str().trim_end_matches("\n")
|
||||
result_reference.stdout_str().trim_end_matches('\n')
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user