mirror of
https://github.com/neovim/neovim.git
synced 2026-07-14 13:20:35 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user