Patch 8.2.0264 (after 8.2.0262)
Problem: Fileformat test still fails on MS-Windows.
Solution: Set fileformat of buffer in the right place.
Files: src/testdir/test_fileformat.vim
*** ../vim-8.2.0263/src/testdir/test_fileformat.vim 2020-02-16
14:55:17.399362678 +0100
--- src/testdir/test_fileformat.vim 2020-02-16 15:07:18.652224694 +0100
***************
*** 281,289 ****
func Test_fileformat_plusplus_read()
new
call setline(1, ['one', 'two', 'three'])
- set ff=unix
w ++ff=dos Xfile1
enew!
" A :read doesn't change the fileformat, but does apply to the read lines.
r ++fileformat=unix Xfile1
call assert_equal('unix', &fileformat)
--- 281,289 ----
func Test_fileformat_plusplus_read()
new
call setline(1, ['one', 'two', 'three'])
w ++ff=dos Xfile1
enew!
+ set ff=unix
" A :read doesn't change the fileformat, but does apply to the read lines.
r ++fileformat=unix Xfile1
call assert_equal('unix', &fileformat)
*** ../vim-8.2.0263/src/version.c 2020-02-16 15:03:44.193305731 +0100
--- src/version.c 2020-02-16 15:08:06.055992148 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 264,
/**/
--
>From "know your smileys":
;-0 Can't find shift key
,-9 Kann Umschalttaste nicht finden
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202002161409.01GE9JW3004374%40masaka.moolenaar.net.