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.

Thank you.

Best regards,
Hirohito Higashi (a.k.a h_east)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff -r 435956324539 src/testdir/test_command_count.in
--- a/src/testdir/test_command_count.in	Sun Jan 25 13:02:57 2015 +0100
+++ b/src/testdir/test_command_count.in	Mon Jan 26 17:04:13 2015 +0900
@@ -2,6 +2,7 @@
 
 STARTTEST
 :so small.vim
+:lang C
 :let g:lines = []
 :com -range=% RangeLines :call add(g:lines, 'RangeLines '.<line1>.' '.<line2>)
 :com -range -addr=arguments RangeArguments :call add(g:lines, 'RangeArguments '.<line1>.' '.<line2>)

Raspunde prin e-mail lui