emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] to correctly sort the items with emphasis marks in a list


From: Nicolas Goaziou
Subject: Re: [Patch] to correctly sort the items with emphasis marks in a list
Date: Mon, 19 Apr 2021 19:50:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Maxim Nikulin <manikulin@gmail.com> writes:

> On 19/04/2021 23:08, Nicolas Goaziou wrote:
>>> +      ;; Space role in sorting.
>>> +      ;; Test would fail for locales with ignored space, e.g. en_US, it 
>>> works
>>> +      ;; in C and currently rare locales having significant space (es_ES, 
>>> pl_PL)
>>> +      (should
>>> +       (equal "- Time stamp\n- Timer\n"
>>> +              (org-test-with-temp-text "- Timer\n- Time stamp\n"
>>> +                (org-sort-list t ?a)
>>> +                (buffer-string))))))
>> Since this test is bound to fail for some developers, I assume it
>> shouldn't be included.
>
> Locale "C" is forced for this group of tests. 

Sorry, I don't understand. There is no locale change around this test,
so it will fail, for example, for me. I wouldn't want to get a noisy
failure each time I run tests.

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]