1
0
forked from aniani/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
This commit is contained in:
Bram Moolenaar
2020-12-23 22:40:11 +01:00
parent bd318559cf
commit 16204962c7
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -750,6 +750,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 */
/**/
2202,
/**/ /**/
2201, 2201,
/**/ /**/