diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-12 17:02:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 17:02:46 +0800 |
| commit | d8360e90333186ebb3a205a1ae64c1cbb531f0b9 (patch) | |
| tree | eff7937a6f68e013a131891dfd3ebeeb121c4ee1 /src/nvim/testdir/test_quickfix.vim | |
| parent | 0f1b17788eb584f41d59c12c968f5e1886655334 (diff) | |
| parent | aa373e3abb17a5265b1afa8c119207980e90001a (diff) | |
| download | rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.tar.gz rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.tar.bz2 rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.zip | |
Merge pull request #19334 from zeertzjq/vim-8.2.0275
vim-patch:8.2.{0275,0293,5050}
Diffstat (limited to 'src/nvim/testdir/test_quickfix.vim')
| -rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index 9881deaa45..5649652fd2 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -499,6 +499,7 @@ func Xtest_browse(cchar) \ 'RegularLine2'] Xfirst + call assert_fails('-5Xcc', 'E16:') call assert_fails('Xprev', 'E553') call assert_fails('Xpfile', 'E553') Xnfile @@ -4415,6 +4416,20 @@ func Test_splitview() call assert_equal(0, getloclist(0, {'winid' : 0}).winid) new | only + " Using :split or :vsplit from a quickfix window should behave like a :new + " or a :vnew command + copen + split + call assert_equal(3, winnr('$')) + let l = getwininfo() + call assert_equal([0, 0, 1], [l[0].quickfix, l[1].quickfix, l[2].quickfix]) + close + copen + vsplit + let l = getwininfo() + call assert_equal([0, 0, 1], [l[0].quickfix, l[1].quickfix, l[2].quickfix]) + new | only + call delete('Xtestfile1') call delete('Xtestfile2') endfunc |