comparison src/testdir/test_tagjump.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 b9240fe40dd4
children f0312cf3c792
comparison
equal deleted inserted replaced
18766:3cc0ddf2abd0 18767:068337e86133
3 source check.vim 3 source check.vim
4 source screendump.vim 4 source screendump.vim
5 5
6 " SEGV occurs in older versions. (At least 7.4.1748 or older) 6 " SEGV occurs in older versions. (At least 7.4.1748 or older)
7 func Test_ptag_with_notagstack() 7 func Test_ptag_with_notagstack()
8 CheckFeature quickfix
9
8 set notagstack 10 set notagstack
9 call assert_fails('ptag does_not_exist_tag_name', 'E426') 11 call assert_fails('ptag does_not_exist_tag_name', 'E426')
10 set tagstack&vim 12 set tagstack&vim
11 endfunc 13 endfunc
12 14
13 func Test_cancel_ptjump() 15 func Test_cancel_ptjump()
16 CheckFeature quickfix
17
14 set tags=Xtags 18 set tags=Xtags
15 call writefile(["!_TAG_FILE_ENCODING\tutf-8\t//", 19 call writefile(["!_TAG_FILE_ENCODING\tutf-8\t//",
16 \ "word\tfile1\tcmd1", 20 \ "word\tfile1\tcmd1",
17 \ "word\tfile2\tcmd2"], 21 \ "word\tfile2\tcmd2"],
18 \ 'Xtags') 22 \ 'Xtags')
68 call delete('Xtags') 72 call delete('Xtags')
69 call delete('Xfile1') 73 call delete('Xfile1')
70 endfunc 74 endfunc
71 75
72 func Test_tagjump_switchbuf() 76 func Test_tagjump_switchbuf()
77 CheckFeature quickfix
78
73 set tags=Xtags 79 set tags=Xtags
74 call writefile(["!_TAG_FILE_ENCODING\tutf-8\t//", 80 call writefile(["!_TAG_FILE_ENCODING\tutf-8\t//",
75 \ "second\tXfile1\t2", 81 \ "second\tXfile1\t2",
76 \ "third\tXfile1\t3",], 82 \ "third\tXfile1\t3",],
77 \ 'Xtags') 83 \ 'Xtags')