diff options
author | Joris | 2022-12-18 20:23:09 +0100 |
---|---|---|
committer | Joris | 2022-12-18 20:23:09 +0100 |
commit | c2ecfeb9c010e175e6401390b8150b10988093a5 (patch) | |
tree | cff56ee7cef621d91026e5172542b6e719bae7bb /src/model | |
parent | 08040993c114d9331edcc3f032bf3ad357ecf3d1 (diff) |
Fix tests
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/repetition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/repetition.rs b/src/model/repetition.rs index 6151cbf..360cf5f 100644 --- a/src/model/repetition.rs +++ b/src/model/repetition.rs @@ -293,7 +293,7 @@ mod tests { } fn d(y: i32, m: u32, d: u32) -> NaiveDate { - NaiveDate::from_ymd_opt(y, m, d) + NaiveDate::from_ymd_opt(y, m, d).unwrap() } fn from_freq(frequency: Frequency) -> Repetition { |