mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
fix lint errors
This commit is contained in:
parent
68b1f04f7d
commit
bb64e699ec
1 changed files with 3 additions and 5 deletions
|
@ -202,11 +202,9 @@ fn test_shuf_multiple_input_line_count() {
|
|||
let result = new_ucmd!()
|
||||
.args(&["-i10-200", "-n", "10", "-n", "5"])
|
||||
.succeeds();
|
||||
|
||||
result.no_stderr();
|
||||
|
||||
let result_seq = result
|
||||
.stdout_str()
|
||||
.split('\n')
|
||||
.filter(|x| !x.is_empty());
|
||||
assert_eq!(result_seq.count(), 5, "Output should have 5 items");
|
||||
let result_count = result.stdout_str().split('\n').filter(|x| !x.is_empty()).count();
|
||||
assert_eq!(result_count, 5, "Output should have 5 items");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue