mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-18 01:40:13 +00:00
test-org-clok/org-clock-update-time-maybe: Fix test for non-English LANG
* testing/lisp/test-org-clock.el (test-org-clok/org-clock-update-time-maybe): Do not assert English day names. Reported-by: emacs@supporter.mailer.me
This commit is contained in:
parent
9eaca51c51
commit
1d35ebd93c
|
@ -122,7 +122,10 @@ the buffer."
|
||||||
"Test `org-clock-update-time-maybe' specifications."
|
"Test `org-clock-update-time-maybe' specifications."
|
||||||
(should
|
(should
|
||||||
(equal
|
(equal
|
||||||
"CLOCK: [2023-04-29 Sat 00:00]--[2023-05-04 Thu 01:00] => 121:00"
|
(format
|
||||||
|
"CLOCK: [2023-04-29 %s 00:00]--[2023-05-04 %s 01:00] => 121:00"
|
||||||
|
(org-test-get-day-name "Sat")
|
||||||
|
(org-test-get-day-name "Thu"))
|
||||||
(org-test-with-temp-text
|
(org-test-with-temp-text
|
||||||
"CLOCK: [2023-04-29 Sat 00:00]--[2023-05-04 Thu 01:00]"
|
"CLOCK: [2023-04-29 Sat 00:00]--[2023-05-04 Thu 01:00]"
|
||||||
(should (org-clock-update-time-maybe))
|
(should (org-clock-update-time-maybe))
|
||||||
|
|
Loading…
Reference in a new issue