diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 18:40:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 18:40:37 +0200 |
commit | 0331faf71200a274377e1569fcda4f00c9cf3e2a (patch) | |
tree | 2edf3171c224b62738e75352fe430b85733b664b /src/testdir/test_tagjump.vim | |
parent | 45aa07d3c126e887c614f8a4ebdb88aed673a9f1 (diff) | |
download | vim-git-0331faf71200a274377e1569fcda4f00c9cf3e2a.tar.gz |
patch 8.1.1546: in some tests 'tags' is set but not restoredv8.1.1546
Problem: In some tests 'tags' is set but not restored. (Daniel Hahler)
Solution: Restore 'tags'. (closes #4535)
Diffstat (limited to 'src/testdir/test_tagjump.vim')
-rw-r--r-- | src/testdir/test_tagjump.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_tagjump.vim b/src/testdir/test_tagjump.vim index 7e64ac435..e4084b314 100644 --- a/src/testdir/test_tagjump.vim +++ b/src/testdir/test_tagjump.vim @@ -20,6 +20,7 @@ func Test_cancel_ptjump() call assert_equal(2, winnr('$')) call delete('Xtags') + set tags& quit endfunc @@ -104,6 +105,7 @@ func Test_tagjump_switchbuf() enew | only call delete('Xfile1') call delete('Xtags') + set tags& set switchbuf&vim endfunc @@ -431,7 +433,7 @@ func Test_tagnr_recall() tag call assert_equal(bufname('%'), 'Xtest.h') - set tag& + set tags& call delete('Xtags') bwipe Xtest.h bwipe Xtest.c @@ -467,6 +469,7 @@ func Test_tag_line_toolong() endtry call assert_equal('Ignoring long line in tags file', split(execute('messages'), '\n')[-1]) call delete('Xtags') + set tags& let &verbose = old_vbs endfunc |