aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-09 19:24:41 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-09 19:24:41 +0800
commit0675c7de751cd4efe5c699b5d4a04c333fb17d9a (patch)
treeb00a83477abaf53e7ee06cf0eac7f50a227fdd03 /src
parent2863fac61f8855a4feea275079f01765c0017df1 (diff)
downloadrneovim-0675c7de751cd4efe5c699b5d4a04c333fb17d9a.tar.gz
rneovim-0675c7de751cd4efe5c699b5d4a04c333fb17d9a.tar.bz2
rneovim-0675c7de751cd4efe5c699b5d4a04c333fb17d9a.zip
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 https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_writefile.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_writefile.vim b/src/nvim/testdir/test_writefile.vim
index 18281cd52f..b42665c9b5 100644
--- a/src/nvim/testdir/test_writefile.vim
+++ b/src/nvim/testdir/test_writefile.vim
@@ -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