From dbfa795d8b66c99ee758b132d6043871b9061563 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 2 Nov 2020 20:04:22 +0100 Subject: 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) --- src/testdir/test_quickfix.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/testdir/test_quickfix.vim') diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim index 88eabaa04..196aa1d8d 100644 --- a/src/testdir/test_quickfix.vim +++ b/src/testdir/test_quickfix.vim @@ -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 -- cgit v1.2.1