aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 {