Hi,

The test55 may fail if lang isn't C, because the E737 message is translated.
Here is an example.
(Vim 7.3.843 with old runtime files of 7.3.000)

$ LANG=ja_JP.UTF-8 make test55.out
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up
../vim -u unix.vim -U NONE --noplugin -s dotest.in test55.in
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
18c18
< Vim(call):E737: ?          <- A broken char is shown.
---
> Vim(call):E737: 3
116c116
< Vim(call):E737: ?          <- A broken char is shown.
---
> Vim(call):E737: a
rm -rf X* test.ok viminfo


Attached patch fixes this problem.

Regards,
Ken Takata

-- 
-- 
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/groups/opt_out.


# HG changeset patch
# Parent b5a4161f1bf9c5b2aee1464cf37165657dcc16dc
diff --git a/src/testdir/test55.in b/src/testdir/test55.in
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -3,6 +3,7 @@
 STARTTEST
 :so small.vim
 :fun Test(...)
+:lang C
 :" Creating List directly with different types
 :let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
 :$put =string(l)

Raspunde prin e-mail lui