Hi
Vim test test_cdo fails when locale is it_IT.utf8
because the test expects to find error message
'Unsaved file change test passed', which fails
if error message is localized:
========
$ cd src/testdir
$ export LANGUAGE=it_IT.utf8
$ rm test_cdo.out
$ make
[...snip...]
# Check if the test.out file matches test.ok.
15c15
< Unsaved file change test failed
---
> Unsaved file change test passed
48c48
< Unsaved file change test failed
---
> Unsaved file change test passed
rm -rf X* test.ok viminfo
Test results:
test_cdo FAILED
TEST FAILURE
Makefile:90: set di istruzioni per l'obiettivo "report" non riuscito
make: *** [report] Errore 1
========
Attached patch fixes it.
Regards
Dominique
--
--
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.
diff --git a/src/testdir/test_cdo.in b/src/testdir/test_cdo.in
index fb80ea1..087cd2e 100644
--- a/src/testdir/test_cdo.in
+++ b/src/testdir/test_cdo.in
@@ -2,6 +2,7 @@ Tests for the :cdo, :cfdo, :ldo and :lfdo commands
STARTTEST
:so small.vim
+:lang mess C
:if !has('quickfix') | e! test.ok | wq! test.out | endif
:call writefile(["Line1", "Line2", "Line3"], 'Xtestfile1')