test_cdo fails when using another language

59 views
Skip to first unread message

Kenichi Ito

unread,
Dec 7, 2015, 4:57:22 PM12/7/15
to vim_dev
Hi list,

test_cdo fails like this.
15c15
< Unsaved file change test failed
---
> Unsaved file change test passed
48c48
< Unsaved file change test failed
---
> Unsaved file change test passed


This patch fixes it.
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')


Regards,
Kenichi Ito

Bram Moolenaar

unread,
Dec 8, 2015, 4:51:55 PM12/8/15
to Kenichi Ito, vim_dev

Kenichi Ito wrote:

> Hi list,
>
> test_cdo fails like this.
> 15c15
> < Unsaved file change test failed
> ---
> > Unsaved file change test passed
> 48c48
> < Unsaved file change test failed
> ---
> > Unsaved file change test passed
>
>
> This patch fixes it.

Thanks!


--
hundred-and-one symptoms of being an internet addict:
217. Your sex life has drastically improved...so what if it's only cyber-sex!

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages