Christian Brabandt wrote:
> > Hi Bram!
> >
> > On Mo, 23 Jan 2017, Bram Moolenaar wrote:
> >
> > > + func Test_fileformat_autocommand()
> > > + let filecnt=['', 'foobar', 'eins', '', 'zwei', 'drei', 'vier',
> > > 'fünf', '']
> >
> > That looks wrong. The first five items should have an explicit CR '^M'
> > inside it. Did this test actually fail before the patch?
>
> Attached patch fixes it and also cleans up correctly by deleting the
> newly written file Xfile
Using control characters literally is a problem. Better use "\<CR>".
I'll make it like that.
--
"A mouse can be just as dangerous as a bullet or a bomb."
(US Representative Lamar Smith, R-Texas)
/// 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.