mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 8.2.0264: fileformat test still fails on MS-Windows
Problem: Fileformat test still fails on MS-Windows. Solution: Set fileformat of buffer in the right place.
This commit is contained in:
parent
df2ecddf9d
commit
a36c830a32
@ -281,9 +281,9 @@ endfunc
|
|||||||
func Test_fileformat_plusplus_read()
|
func Test_fileformat_plusplus_read()
|
||||||
new
|
new
|
||||||
call setline(1, ['one', 'two', 'three'])
|
call setline(1, ['one', 'two', 'three'])
|
||||||
set ff=unix
|
|
||||||
w ++ff=dos Xfile1
|
w ++ff=dos Xfile1
|
||||||
enew!
|
enew!
|
||||||
|
set ff=unix
|
||||||
" A :read doesn't change the fileformat, but does apply to the read lines.
|
" A :read doesn't change the fileformat, but does apply to the read lines.
|
||||||
r ++fileformat=unix Xfile1
|
r ++fileformat=unix Xfile1
|
||||||
call assert_equal('unix', &fileformat)
|
call assert_equal('unix', &fileformat)
|
||||||
|
@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
264,
|
||||||
/**/
|
/**/
|
||||||
263,
|
263,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user