aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_fixeol.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-30 07:56:10 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-30 08:07:56 +0800
commit4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2 (patch)
tree5f2c5122641a4da14ae67029e76737298623f775 /src/nvim/testdir/test_fixeol.vim
parentfeabc1c98cb077f60fde1a14e8540f2cf99eb8d2 (diff)
downloadrneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.tar.gz
rneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.tar.bz2
rneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.zip
vim-patch:9.0.0819: still a build error, tests are failing
Problem: Still a build error, tests are failing. Solution: Correct recent changes. Add missing init for 'eof'. https://github.com/vim/vim/commit/1577537f109d97a975fda9a899cacfb598617767 vim-patch:1577537f109d Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir/test_fixeol.vim')
-rw-r--r--src/nvim/testdir/test_fixeol.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_fixeol.vim b/src/nvim/testdir/test_fixeol.vim
index 3ede84f49e..9d6c900bdb 100644
--- a/src/nvim/testdir/test_fixeol.vim
+++ b/src/nvim/testdir/test_fixeol.vim
@@ -34,10 +34,10 @@ func Test_fixeol()
w >>XXTestEol
w >>XXTestNoEol
- call assert_equal(['with eol', 'END'], readfile('XXEol'))
- call assert_equal(['without eolEND'], readfile('XXNoEol'))
- call assert_equal(['with eol', 'stays eol', 'END'], readfile('XXTestEol'))
- call assert_equal(['without eol', 'stays withoutEND'],
+ call assert_equal(['with eol or eof', 'END'], readfile('XXEol'))
+ call assert_equal(['without eol or eofEND'], readfile('XXNoEol'))
+ call assert_equal(['with eol or eof', 'stays eol', 'END'], readfile('XXTestEol'))
+ call assert_equal(['without eol or eof', 'stays withoutEND'],
\ readfile('XXTestNoEol'))
call delete('XXEol')