forked from aniani/vim
patch 8.2.1942: insufficient test coverage for the Netbeans interface
Problem: Insufficient test coverage for the Netbeans interface.
Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
closes #7240)
This commit is contained in:
@@ -3949,6 +3949,10 @@ func Test_lhelpgrep_autocmd()
|
||||
au BufEnter * call setqflist([], 'f')
|
||||
augroup END
|
||||
call assert_fails('helpgrep quickfix', 'E925:')
|
||||
" run the test with a help window already open
|
||||
help
|
||||
wincmd w
|
||||
call assert_fails('helpgrep quickfix', 'E925:')
|
||||
augroup QF_Test
|
||||
au! BufEnter
|
||||
augroup END
|
||||
|
||||
Reference in New Issue
Block a user