comparison src/testdir/test_autocmd.vim @ 18767:068337e86133 v8.1.2373

patch 8.1.2373: cannot build with +popupwin but without +quickfix Commit: https://github.com/vim/vim/commit/5a4c3082d7ab51b3d448a91578479c96c1ab0ad3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 1 15:23:11 2019 +0100 patch 8.1.2373: cannot build with +popupwin but without +quickfix Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Dec 2019 15:30:04 +0100
parents 788d76db02ac
children b3eb5102447a
comparison
equal deleted inserted replaced
18766:3cc0ddf2abd0 18767:068337e86133
1711 bwipe 1711 bwipe
1712 au! 1712 au!
1713 endfunc 1713 endfunc
1714 1714
1715 func Test_nocatch_wipe_dummy_buffer() 1715 func Test_nocatch_wipe_dummy_buffer()
1716 " Nasty autocommand: wipe buffer on any event. 1716 if has('quickfix')
1717 au * x bwipe 1717 " Nasty autocommand: wipe buffer on any event.
1718 call assert_fails('lv½ /x', 'E480') 1718 au * x bwipe
1719 au! 1719 call assert_fails('lv½ /x', 'E480')
1720 au!
1721 endif
1720 endfunc 1722 endfunc
1721 1723
1722 function s:Before_test_dirchanged() 1724 function s:Before_test_dirchanged()
1723 augroup test_dirchanged 1725 augroup test_dirchanged
1724 autocmd! 1726 autocmd!
2289 call StopVimInTerminal(buf) 2291 call StopVimInTerminal(buf)
2290 call delete(filename) 2292 call delete(filename)
2291 endfunc 2293 endfunc
2292 2294
2293 func Test_autocmd_was_using_freed_memory() 2295 func Test_autocmd_was_using_freed_memory()
2296 CheckFeature quickfix
2297
2294 pedit xx 2298 pedit xx
2295 n x 2299 n x
2296 au WinEnter * quit 2300 au WinEnter * quit
2297 split 2301 split
2298 au! WinEnter 2302 au! WinEnter