Lint
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 2m3s
Cargo CI / Lint (pull_request) Successful in 1m9s

This commit is contained in:
Wojciech Kozlowski 2025-01-03 10:23:19 +01:00
parent 19345d37eb
commit 5f6106ee29

View File

@ -449,7 +449,9 @@ mod tests {
assert_eq!(expected, left.merge(right));
// Merge if left has no year but has months/days.
let left = meta.clone().with_date(AlbumDate::new(None, Some(1), Some(6)));
let left = meta
.clone()
.with_date(AlbumDate::new(None, Some(1), Some(6)));
let right = meta.clone().with_date((2000, 2, 7));
let expected = meta.clone().with_date(right.date);
assert_eq!(expected, left.merge(right));