mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Clippy fixes in multiple crates
This commit is contained in:
parent
5a726e1ab3
commit
8458bf1387
10 changed files with 39 additions and 40 deletions
|
@ -257,14 +257,12 @@ fn test_filter() {
|
|||
// assert all characters are 'i' / no character is not 'i'
|
||||
// (assert that command succeeded)
|
||||
let glob = Glob::new(&at, ".", r"x[[:alpha:]][[:alpha:]]$");
|
||||
assert!(
|
||||
glob.collate().iter().find(|&&c| {
|
||||
// is not i
|
||||
c != (b'i')
|
||||
assert!(!glob.collate().iter().any(|&c| {
|
||||
// is not i
|
||||
c != (b'i')
|
||||
// is not newline
|
||||
&& c != (b'\n')
|
||||
}) == None
|
||||
);
|
||||
}));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue