diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-04 09:23:54 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-04 09:23:54 +0800 |
commit | 7c3064d46e9e525a3632e7622e192cb5402b05df (patch) | |
tree | 65fff3c56617589c6d0c02cf57863f9b9ecb4734 | |
parent | a998b24c568048f0e61052380605e15bc1fbec75 (diff) | |
download | rneovim-7c3064d46e9e525a3632e7622e192cb5402b05df.tar.gz rneovim-7c3064d46e9e525a3632e7622e192cb5402b05df.tar.bz2 rneovim-7c3064d46e9e525a3632e7622e192cb5402b05df.zip |
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)
https://github.com/vim/vim/commit/41d4299f26cc98e253f9c63f8adc9dbb9d49ed5c
-rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index 5cb0354dce..f137ed5346 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -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 |