diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-18 22:15:27 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-19 10:39:14 -0500 |
commit | b35061fb64d7f135cc0e5e45f8b3359fb10c352b (patch) | |
tree | d29abd761d16541b76c764fe21c2a7c8f8279a0d | |
parent | 09b7163f5d942339475a4977253920c4ae7e1297 (diff) | |
download | rneovim-b35061fb64d7f135cc0e5e45f8b3359fb10c352b.tar.gz rneovim-b35061fb64d7f135cc0e5e45f8b3359fb10c352b.tar.bz2 rneovim-b35061fb64d7f135cc0e5e45f8b3359fb10c352b.zip |
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.
https://github.com/vim/vim/commit/a36c830a32f439b862ffb85d4c4b4799ee5ea2f9
-rw-r--r-- | src/nvim/testdir/test_fileformat.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_fileformat.vim b/src/nvim/testdir/test_fileformat.vim index 3de7d38831..465613f1cf 100644 --- a/src/nvim/testdir/test_fileformat.vim +++ b/src/nvim/testdir/test_fileformat.vim @@ -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) |