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

fix clippy tests

This commit is contained in:
n4n5 2024-06-30 16:27:08 +02:00
parent 81de2be5ab
commit ab67947321
No known key found for this signature in database
GPG key ID: 79414EADC6D4B457
31 changed files with 1259 additions and 888 deletions

View file

@ -98,7 +98,7 @@ fn test_kill_table_lists_all_vertically() {
let signals = command
.stdout_str()
.split('\n')
.flat_map(|line| line.trim().split(' ').nth(1))
.filter_map(|line| line.trim().split(' ').nth(1))
.collect::<Vec<&str>>();
assert!(signals.contains(&"KILL"));