aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-31 10:10:22 -0500
committerGitHub <noreply@github.com>2021-01-31 10:10:22 -0500
commitb2713f11b48fe8029aeae07ef6a55ef182a4fbfd (patch)
tree59df6354711c50a01c4c24549793bdcf07fa4d1e /src/nvim/testdir
parent55add1c1c8a9a040f02a880096ca153f7db3e501 (diff)
downloadrneovim-b2713f11b48fe8029aeae07ef6a55ef182a4fbfd.tar.gz
rneovim-b2713f11b48fe8029aeae07ef6a55ef182a4fbfd.tar.bz2
rneovim-b2713f11b48fe8029aeae07ef6a55ef182a4fbfd.zip
vim-patch:8.2.2430: :vimgrep expands wildcards twice (#13853)
Problem: :vimgrep expands wildcards twice. Solution: Do not expand wildcards a second time. https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_quickfix.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim
index 00a253a215..704fdacdcd 100644
--- a/src/nvim/testdir/test_quickfix.vim
+++ b/src/nvim/testdir/test_quickfix.vim
@@ -2650,6 +2650,13 @@ func Test_vimgrep()
call XvimgrepTests('l')
endfunc
+func Test_vimgrep_wildcards_expanded_once()
+ new X[id-01] file.txt
+ call setline(1, 'some text to search for')
+ vimgrep text %
+ bwipe!
+endfunc
+
" Test for incsearch highlighting of the :vimgrep pattern
" This test used to cause "E315: ml_get: invalid lnum" errors.
func Test_vimgrep_incsearch()