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