This commit is contained in:
Wojciech Kozlowski 2025-01-04 22:15:16 +01:00
parent e9b169fdef
commit de5888e9a0

View File

@ -473,4 +473,12 @@ mod tests {
let expected = meta.clone().with_date(right.date);
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());
}
}