mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.0687: some tests do not work on FreeBSD
Problem: Some tests do not work on FreeBSD.
Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
closes vim/vim#6036)
41d4299f26
This commit is contained in:
parent
a998b24c56
commit
7c3064d46e
@ -1789,7 +1789,6 @@ func s:create_test_file(filename)
|
||||
endfunc
|
||||
|
||||
func Test_switchbuf()
|
||||
CheckNotBSD
|
||||
call s:create_test_file('Xqftestfile1')
|
||||
call s:create_test_file('Xqftestfile2')
|
||||
call s:create_test_file('Xqftestfile3')
|
||||
@ -1915,6 +1914,7 @@ func Test_switchbuf()
|
||||
|
||||
" If opening a file changes 'switchbuf', then the new value should be
|
||||
" retained.
|
||||
set modeline&vim
|
||||
call writefile(["vim: switchbuf=split"], 'Xqftestfile1')
|
||||
enew | only
|
||||
set switchbuf&vim
|
||||
|
Loading…
Reference in New Issue
Block a user