From 32da469d9f275fe60dfe166ee077177effbc864c Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Thu, 2 Jan 2025 22:51:33 +0100 Subject: [PATCH] Lint --- src/core/musichoard/database.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/musichoard/database.rs b/src/core/musichoard/database.rs index c05150b..24c872f 100644 --- a/src/core/musichoard/database.rs +++ b/src/core/musichoard/database.rs @@ -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. 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]; assert_eq!(album.meta.id.mb_ref, AlbumMbRef::None); }