1
0
forked from aniani/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 #6036)
This commit is contained in:
Bram Moolenaar
2020-05-03 16:29:50 +02:00
parent 2eaeaf3c31
commit 41d4299f26
3 changed files with 13 additions and 9 deletions

View File

@@ -1708,7 +1708,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')
@@ -1834,6 +1833,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