1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

du: fix clippy warning in test

This commit is contained in:
Daniel Hofstetter 2023-04-21 17:01:40 +02:00
parent 48f9786164
commit 7730c8171d

View file

@ -301,7 +301,7 @@ fn test_du_dereference_args() {
let result = ts.ucmd().arg("-D").arg("-s").arg("sublink").succeeds();
let stdout = result.stdout_str();
assert!(!stdout.starts_with("0"));
assert!(!stdout.starts_with('0'));
assert!(stdout.contains("sublink"));
// Without the option