Dominique wrote:

> Bram Moolenaar <[email protected]> wrote:
> 
> > Patch 8.2.2286
> > Problem:    Sort test fails when locale is Canadian English. (Neil H Watson)
> > Solution:   Expect a different sort order. (closes #7609)
> > Files:      src/testdir/test_sort.vim
> 
> Patch 8.2.2.2286 does not fix it.  I pushed the following PR
> to fix it: https://github.com/vim/vim/pull/7611/files
> 
> But I wonder whether the fact the Canadian locale
> orders upper case before lowercase is a glitch in
> the Linux locale.  So perhaps the test will still fails
> on other systems?  (e.g. BSD).

I'm assuming the locale is correct.  That both English and French behave
this way appears to confirm that.

I did try with en_CA, but not with fr_CA (not available on my system).

Hmm, your fix in Test_sort_cmd() actually breaks it for me.  So perhaps
the locale has changed?  I think we'll need to remove the 'œ' or 'Œ'
character to avoid this problem.


-- 
>From "know your smileys":
 <<<:-{    Worf (Never smiles anyways, so he's a bad smiley)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202101031636.103Gat4t2171700%40masaka.moolenaar.net.

Raspunde prin e-mail lui