vim-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.
a36c830a32
This commit is contained in:
Jan Edmund Lazo 2020-12-18 22:15:27 -05:00
parent 09b7163f5d
commit b35061fb64
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -36,9 +36,9 @@ endfunc
func Test_fileformat_plusplus_read()
new
call setline(1, ['one', 'two', 'three'])
set ff=unix
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)