Change artist new/delete to add/remove #92
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user