diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-24 01:28:04 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-23 22:28:04 -0700 |
| commit | 6d213593ed0af948d23e9d0e8c6d993577344b48 (patch) | |
| tree | e5a21dc1ea6d330eaa40eee2fc40c203c66a9557 /src/nvim/testdir | |
| parent | d9032308fbfd90eb71266bfe6d9a11930045f745 (diff) | |
| download | rneovim-6d213593ed0af948d23e9d0e8c6d993577344b48.tar.gz rneovim-6d213593ed0af948d23e9d0e8c6d993577344b48.tar.bz2 rneovim-6d213593ed0af948d23e9d0e8c6d993577344b48.zip | |
vim-patch:8.0.1754: ex_helpgrep() is too long #11084
Problem: ex_helpgrep() is too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes vim/vim#2766)
https://github.com/vim/vim/commit/2225ebb48644f3924311b8df02a1319ab7675d42
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index b7f45aeeb1..83ef3c2fce 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -2317,6 +2317,12 @@ func XvimgrepTests(cchar) call assert_equal('Xtestfile2', bufname('')) call assert_equal('Editor:Emacs EmAcS', l[0].text) + " Test for unloading a buffer after vimgrep searched the buffer + %bwipe + Xvimgrep /Editor/j Xtestfile* + call assert_equal(0, getbufinfo('Xtestfile1')[0].loaded) + call assert_equal([], getbufinfo('Xtestfile2')) + call delete('Xtestfile1') call delete('Xtestfile2') endfunc |