patch 8.1.2373: cannot build with +popupwin but without +quickfix
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 6d1897a..c16a679 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -1713,10 +1713,12 @@
endfunc
func Test_nocatch_wipe_dummy_buffer()
- " Nasty autocommand: wipe buffer on any event.
- au * x bwipe
- call assert_fails('lv½ /x', 'E480')
- au!
+ if has('quickfix')
+ " Nasty autocommand: wipe buffer on any event.
+ au * x bwipe
+ call assert_fails('lv½ /x', 'E480')
+ au!
+ endif
endfunc
function s:Before_test_dirchanged()
@@ -2291,6 +2293,8 @@
endfunc
func Test_autocmd_was_using_freed_memory()
+ CheckFeature quickfix
+
pedit xx
n x
au WinEnter * quit