Add a filtering tool to only show only certain release group types #252
@ -473,4 +473,12 @@ mod tests {
|
|||||||
let expected = meta.clone().with_date(right.date);
|
let expected = meta.clone().with_date(right.date);
|
||||||
assert_eq!(expected, left.merge(right));
|
assert_eq!(expected, left.merge(right));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn secondary_types_all_variants() {
|
||||||
|
let mut variants = AlbumSecondaryType::all_variants().to_vec();
|
||||||
|
variants.sort_unstable();
|
||||||
|
variants.dedup();
|
||||||
|
assert_eq!(variants, AlbumSecondaryType::all_variants().to_vec());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user