aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-12-18 20:23:09 +0100
committerJoris2022-12-18 20:23:09 +0100
commitc2ecfeb9c010e175e6401390b8150b10988093a5 (patch)
treecff56ee7cef621d91026e5172542b6e719bae7bb
parent08040993c114d9331edcc3f032bf3ad357ecf3d1 (diff)
Fix tests
-rw-r--r--src/model/repetition.rs2
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 {