diff src/testdir/test_taglist.vim @ 17093:5cda6165a5c1 v8.1.1546

patch 8.1.1546: in some tests 'tags' is set but not restored commit https://github.com/vim/vim/commit/0331faf71200a274377e1569fcda4f00c9cf3e2a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 18:40:37 2019 +0200 patch 8.1.1546: in some tests 'tags' is set but not restored Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) Solution: Restore 'tags'. (closes https://github.com/vim/vim/issues/4535)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 18:45:05 +0200
parents d863beec391a
children 8a2fb21c23c0
line wrap: on
line diff
--- a/src/testdir/test_taglist.vim
+++ b/src/testdir/test_taglist.vim
@@ -30,6 +30,7 @@ func Test_taglist()
   call assert_equal('call cursor(3, 4)', cmd[0]['cmd'])
 
   call delete('Xtags')
+  set tags&
   bwipe
 endfunc
 
@@ -50,6 +51,7 @@ func Test_taglist_native_etags()
 	\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
 
   call delete('Xtags')
+  set tags&
 endfunc
 
 func Test_taglist_ctags_etags()
@@ -69,6 +71,7 @@ func Test_taglist_ctags_etags()
 	\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
 
   call delete('Xtags')
+  set tags&
 endfunc
 
 func Test_tags_too_long()
@@ -110,4 +113,5 @@ func Test_tagsfile_without_trailing_newl
   call assert_equal('Foo', tl[0].name)
 
   call delete('Xtags')
+  set tags&
 endfunc