diff options
Diffstat (limited to 'test/lisp/timezone-tests.el')
-rw-r--r-- | test/lisp/timezone-tests.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/lisp/timezone-tests.el b/test/lisp/timezone-tests.el index 4b5f5617ecd..c374042fa5d 100644 --- a/test/lisp/timezone-tests.el +++ b/test/lisp/timezone-tests.el @@ -135,9 +135,10 @@ (should (equal (timezone-zone-to-minute "*invalid*") 0))) (ert-deftest timezone-tests-time-from-absolute () - (should (equal (timezone-time-from-absolute (* 2020 365) ; Jan 1 2020 - (* 12 60 60)) ; 12:00 - '(23911 48704 0 0)))) + (should (time-equal-p + (timezone-time-from-absolute (* 2020 365) ; Jan 1 2020 + (* 12 60 60)) ; 12:00 + '(23911 48704 0 0)))) ;; TODO: Write tests for timezone-tests-time-zone-from-absolute, which is a ;; bit tricky since the results depend on `current-time-zone'. |