Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org> writes:
> Axel Kielhorn <org-m...@axelkielhorn.de> writes: > >> Hello! >> >> I’m building org with LANG=de. >> As a result I get two failed tests: > > Reproducible using "LANG=zh_CN.UTF-8". In fact, I got more failed tests > in my testing. I think the OP's two test failures are due to hardcoded > English expected result, whereas the additional test failures on my > testing are probably due to the fact that each Chinese character is as > wide as two latin letters, which catches some testing code offguard. > > Here are the test names that failed unexpectedly for me. All the > "should"'s and "should-not"'s are in the attachment below. > > --8<---------------cut here---------------start------------->8--- > 8 unexpected results: > FAILED test-org-clock/clock-drawer-dwim > FAILED test-org-clock/clocktable/lang > FAILED test-org-clok/org-clock-timestamps-change > FAILED test-org-colview/columns-width > FAILED test-org/add-planning-info > FAILED test-org/clone-with-time-shift > FAILED test-org/deadline > FAILED test-org/schedule > --8<---------------cut here---------------end--------------->8--- > > [3. text/plain; lang.txt]... Update: interestingly, there is one test error when setting "LANG=en_US.UTF-8" or "LANG=C".
1 unexpected results: FAILED test-org-clock/clocktable/lang ((should (equal "| En-tête | Durée |\n|----------------+---------|\n| *Durée totale* | *26:00* |\n|----------------+---------|\n| Foo | 26:00 |" (org-test-with-temp-text "* Foo\n CLOCK: [2016-12-27 Wed 13:09]--[2016-12-28 Wed 15:09] => 26:00" (test-org-clock-clocktable-contents ":maxlevel 1 :lang fr")))) :form (equal "| En-tête | Durée |\n|----------------+---------|\n| *Durée totale* | *26:00* |\n|----------------+---------|\n| Foo | 26:00 |" "| En-tête | Durée |\n|---------------------+------------|\n| *Durée totale* | *26:00* |\n|---------------------+------------|\n| Foo | 26:00 |") :value nil :explanation (arrays-of-different-length 144 169 "| En-tête | Durée |\n|----------------+---------|\n| *Durée totale* | *26:00* |\n|----------------+---------|\n| Foo | 26:00 |" "| En-tête | Durée |\n|---------------------+------------|\n| *Durée totale* | *26:00* |\n|---------------------+------------|\n| Foo | 26:00 |" first-mismatch-at 25))
And, two somewhat different test errors when setting "LANG=fr_FR.UTF-8".
2 unexpected results: FAILED test-org-clock/clock-drawer-dwim ((should (equal "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] => 0:01\n:END:\n" (org-test-with-temp-text "* Foo\n:LOGBOOK:\n<point>CLOCK: [2022-11-03 ??? 06:00]--[2022-11-03 ??? 06:01] => 0:01\n:END:\n" (org-ctrl-c-ctrl-c) (buffer-string)))) :form (equal "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] => 0:01\n:END:\n" #("* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 jeu. 06:00]--[2022-11-03 jeu. 06:01] => 0:01\n:END:\n" 0 2 (face org-level-1) 2 5 (face org-level-1) 6 15 (font-lock-fontified t face org-drawer) 16 22 (face org-special-keyword) 46 71 (face org-date keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face highlight) 81 86 (font-lock-fontified t face org-drawer))) :value nil :explanation (arrays-of-different-length 85 87 "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] => 0:01\n:END:\n" #("* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 jeu. 06:00]--[2022-11-03 jeu. 06:01] => 0:01\n:END:\n" 0 2 (face org-level-1) 2 5 (face org-level-1) 6 15 (font-lock-fontified t face org-drawer) 16 22 (face org-special-keyword) 46 71 (face org-date keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face highlight) 81 86 (font-lock-fontified t face org-drawer)) first-mismatch-at 35)) FAILED test-org-clok/org-clock-timestamps-change "Not at a timestamp"
-- Best, RY [Please note that this mail might go to spam due to some misconfiguration in my mail server -- still investigating.]