Lint
This commit is contained in:
parent
19345d37eb
commit
5f6106ee29
@ -449,7 +449,9 @@ mod tests {
|
|||||||
assert_eq!(expected, left.merge(right));
|
assert_eq!(expected, left.merge(right));
|
||||||
|
|
||||||
// Merge if left has no year but has months/days.
|
// 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 right = meta.clone().with_date((2000, 2, 7));
|
||||||
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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user