Clippy
This commit is contained in:
parent
bff68a84ee
commit
c76e2309a3
@ -832,15 +832,13 @@ mod tests {
|
||||
assert!(music_hoard.get_collection()[0]
|
||||
.albums
|
||||
.iter()
|
||||
.find(|album| album.id.title == "album_title a.a")
|
||||
.is_some());
|
||||
.any(|album| album.id.title == "album_title a.a"));
|
||||
|
||||
music_hoard.rescan_library().unwrap();
|
||||
assert!(music_hoard.get_collection()[0]
|
||||
assert!(!music_hoard.get_collection()[0]
|
||||
.albums
|
||||
.iter()
|
||||
.find(|album| album.id.title == "album_title a.a")
|
||||
.is_none());
|
||||
.any(|album| album.id.title == "album_title a.a"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user