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:
Daniel Hahler 2019-08-30 07:10:21 +02:00 committed by GitHub
parent 7ad1d00eaa
commit 7732976918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')