Clippy
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m41s
Cargo CI / Lint (pull_request) Successful in 1m14s

This commit is contained in:
Wojciech Kozlowski 2024-03-01 08:41:14 +01:00
parent bff68a84ee
commit c76e2309a3

View File

@ -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]