Fix clippy
This commit is contained in:
parent
690c172cf6
commit
6017cfa57f
@ -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