aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/calendar/time-date-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/calendar/time-date-tests.el b/test/lisp/calendar/time-date-tests.el
index 9c90300cfe6..3eecc67eb53 100644
--- a/test/lisp/calendar/time-date-tests.el
+++ b/test/lisp/calendar/time-date-tests.el
@@ -32,7 +32,8 @@
32 (should (= (date-days-in-month 2004 2) 29)) 32 (should (= (date-days-in-month 2004 2) 29))
33 (should (= (date-days-in-month 2004 3) 31)) 33 (should (= (date-days-in-month 2004 3) 31))
34 (should-not (= (date-days-in-month 1900 3) 28)) 34 (should-not (= (date-days-in-month 1900 3) 28))
35 (should-error (date-days-in-month 2020 15))) 35 (should-error (date-days-in-month 2020 15))
36 (should-error (date-days-in-month 2020 'foo)))
36 37
37(ert-deftest test-ordinal () 38(ert-deftest test-ordinal ()
38 (should (equal (date-ordinal-to-time 2008 271) 39 (should (equal (date-ordinal-to-time 2008 271)