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:
Ihor Radchenko 2023-09-15 12:00:06 +03:00
parent 9eaca51c51
commit 1d35ebd93c
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 4 additions and 1 deletions

View File

@ -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))