vim-patch:8.2.2202: write file test still fails on MS-Windows

Problem:    Write file test still fails on MS-Windows.
Solution:   Set fileformat with the :edit command
16204962c7
This commit is contained in:
zeertzjq 2022-02-09 19:24:41 +08:00
parent 2863fac61f
commit 0675c7de75

View File

@ -503,8 +503,8 @@ func Test_read_write_bin()
call assert_equal(0z6E6F656F6C, readfile('XNoEolSetEol', 'B'))
" when file is read 'eol' is off
set ff=unix nofixeol
e! XNoEolSetEol
set nofixeol
e! ++ff=unix XNoEolSetEol
call assert_equal(0, &eol)
" writing with 'eol' set adds the newline