aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-27 17:24:25 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-11-06 00:46:25 +0100
commit0598675f3cd9ea211136a43adf507b623c1989cf (patch)
tree964a68d597fac11b7ad59fe3c5eb22d7a321998e
parentFix "define*" not being excempted. (diff)
downloadcalp-0598675f3cd9ea211136a43adf507b623c1989cf.tar.gz
calp-0598675f3cd9ea211136a43adf507b623c1989cf.tar.xz
Finish coverage for week-1-start.
-rw-r--r--tests/unit/datetime/datetime.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/datetime/datetime.scm b/tests/unit/datetime/datetime.scm
index 650eea02..0ea8bcae 100644
--- a/tests/unit/datetime/datetime.scm
+++ b/tests/unit/datetime/datetime.scm
@@ -503,6 +503,11 @@
(test-equal
(date year: 2018 month: 1 day: 1)
(week-1-start (date year: 2018)
+ mon))
+
+ (test-equal
+ (date year: 2017 month: 1 day: 2)
+ (week-1-start (date year: 2017 month: 1 day: 1)
mon)))
(test-group "week-number"