]> git.eshelyaron.com Git - emacs.git/commit
Stabilise lunar-phase-list test (bug#45818)
authorMattias Engdegård <mattiase@acm.org>
Wed, 13 Jan 2021 13:16:57 +0000 (14:16 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 13 Jan 2021 13:16:57 +0000 (14:16 +0100)
commit820bd0e09a913e0bc9e1fc9fe007f6a653be2808
tree4ae7813bcb9bffa5b97aae06d51cd24611d2dba9
parentc734ba68623279d814e857ddc536421a08c38f34
Stabilise lunar-phase-list test (bug#45818)

The test reference data was produced with accidental interference from
the system daylight saving in effect at the time.  Prevent that
from occurring again and correct the data.

* test/lisp/calendar/lunar-tests.el (with-lunar-test):
Switch to UTC and make sure daylight saving adjustment is disabled.
Use normal time presentation for maintainability.
* test/lisp/calendar/lunar-tests.el (lunar-test-phase): Adjust to UTC.
(lunar-test-phase-list): Adjust to UTC with correct times.
Enable the test by removing its :unstable mark.
test/lisp/calendar/lunar-tests.el