Change artist new/delete to add/remove #92

Merged
wojtek merged 2 commits from 89---change-artist-new/delete-to-add/remove into main 2024-01-11 21:51:51 +01:00
Showing only changes of commit 6017cfa57f - Show all commits

View File

@ -1079,7 +1079,7 @@ mod tests {
let mut expected: Vec<Artist> = vec![]; let mut expected: Vec<Artist> = vec![];
music_hoard.add_artist(artist_id.clone()); music_hoard.add_artist(artist_id.clone());
_ = expected.push(Artist::new(artist_id.clone())); expected.push(Artist::new(artist_id.clone()));
assert_eq!(music_hoard.collection, expected); assert_eq!(music_hoard.collection, expected);
music_hoard.add_artist(artist_id.clone()); music_hoard.add_artist(artist_id.clone());