mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 03:02:52 +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."
|
||||
(should
|
||||
(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
|
||||
"CLOCK: [2023-04-29 Sat 00:00]--[2023-05-04 Thu 01:00]"
|
||||
(should (org-clock-update-time-maybe))
|
||||
|
|
Loading…
Reference in a new issue