mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
tests: fix Test_tagfiles: use Vim's 'tags' (#10883)
When run via `test_alot.vim` `Test_tagfiles` gets run after `set tags&`, and might therefore pick up "tags" from Neovim's source directory. This patch makes it use Vim's default always (which is different from Neovim's).
This commit is contained in:
parent
7ad1d00eaa
commit
7732976918
@ -80,6 +80,8 @@ func Test_tags_too_long()
|
||||
endfunc
|
||||
|
||||
func Test_tagfiles()
|
||||
" Nvim: different default for 'tags'.
|
||||
set tags=./tags,tags
|
||||
call assert_equal([], tagfiles())
|
||||
|
||||
call writefile(["FFoo\tXfoo\t1"], 'Xtags1')
|
||||
|
Loading…
Reference in New Issue
Block a user