changeset 23314:7d09c9cdaab8 v8.2.2202

patch 8.2.2202: write file test still fails on MS-Windows Commit: https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 23 22:40:11 2020 +0100 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
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Dec 2020 22:45:03 +0100
parents 00317c8aea94
children 714f77a21728
files src/testdir/test_writefile.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_writefile.vim
+++ b/src/testdir/test_writefile.vim
@@ -682,8 +682,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
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2202,
+/**/
     2201,
 /**/
     2200,