Lint
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 2m0s
Cargo CI / Lint (pull_request) Successful in 1m7s

This commit is contained in:
Wojciech Kozlowski 2025-01-02 22:51:33 +01:00
parent 464e4c1014
commit 32da469d9f

View File

@ -873,7 +873,9 @@ mod tests {
// To clear the mb_ref we need the album_id to have the mb_ref to identify the correct album. // To clear the mb_ref we need the album_id to have the mb_ref to identify the correct album.
album_id.set_mb_ref(AlbumMbRef::CannotHaveMbid); album_id.set_mb_ref(AlbumMbRef::CannotHaveMbid);
assert!(music_hoard.clear_album_mb_ref(&artist_id, &album_id).is_ok()); assert!(music_hoard
.clear_album_mb_ref(&artist_id, &album_id)
.is_ok());
let album = &music_hoard.collection[0].albums[0]; let album = &music_hoard.collection[0].albums[0];
assert_eq!(album.meta.id.mb_ref, AlbumMbRef::None); assert_eq!(album.meta.id.mb_ref, AlbumMbRef::None);
} }