Hirohito Higashi wrote:

> Hi Bram and list,
> 
> How to reproduce (on Linux):
> - Set non-English system locale.
>   $ export LANG=ja_JP.UTF-8
> 
> - run test only test_command_count.
>   $ cd src/testdir
>   $ make test_command_count.out 
>   rm -rf test_command_count.failed test.ok test.out X* viminfo
>   cp test_command_count.ok test.ok
>   # Sleep a moment to avoid that the xterm title is messed up.
>   # 200 msec is sufficient, but only modern sleep supports a fraction of
>   # a second, fall back to a second if it fails.
>   VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE 
> --noplugin -s dotest.in test_command_count.in
>   # For flaky tests retry one time.
>   # Check if the test.out file matches test.ok.
>   20c20
>   < 5argu E16: 無効な範囲です
>   ---
>   > 5argu E16: Invalid range
>   23c23
>   < 100b E16: 無効な範囲です
>   ---
>   > 100b E16: Invalid range
>   26c26
>   < $+close E16: 無効な範囲です
>   ---
>   > $+close E16: Invalid range
>   28c28
>   < $+tabe E16: 無効な範囲です
>   ---
>   > $+tabe E16: Invalid range
>   rm -rf X* test.ok viminfo
> 
> Expected behavior:
> - Test is successful.
> 
> Actual behavior:
> - Test to fail due to the difference of the locale.
> 
> I fixed this. Please check.

Thanks for the clear explanation.  I'll include the fix.


-- 
Would you care for a drink?   I mean, if it were, like,
disabled and you had to look after it?

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui