mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
head: fix clippy warnings in tests
This commit is contained in:
parent
dc41ed2aeb
commit
aeee56b3c3
1 changed files with 3 additions and 3 deletions
|
@ -391,7 +391,7 @@ fn test_read_backwards_bytes_proc_fs_version() {
|
|||
|
||||
let args = ["-c", "-1", "/proc/version"];
|
||||
let result = ts.ucmd().args(&args).succeeds();
|
||||
assert!(result.stdout().len() > 0);
|
||||
assert!(!result.stdout().is_empty());
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
|
@ -406,7 +406,7 @@ fn test_read_backwards_bytes_proc_fs_modules() {
|
|||
|
||||
let args = ["-c", "-1", "/proc/modules"];
|
||||
let result = ts.ucmd().args(&args).succeeds();
|
||||
assert!(result.stdout().len() > 0);
|
||||
assert!(!result.stdout().is_empty());
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
|
@ -421,7 +421,7 @@ fn test_read_backwards_lines_proc_fs_modules() {
|
|||
|
||||
let args = ["--lines", "-1", "/proc/modules"];
|
||||
let result = ts.ucmd().args(&args).succeeds();
|
||||
assert!(result.stdout().len() > 0);
|
||||
assert!(!result.stdout().is_empty());
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue