mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
patch 9.1.1950: tests: Test_tagjump.vim leaves swapfiles behind
Problem: tests: Test_tagjump.vim leaves swapfiles behind Solution: Close open buffers using :bw! instead of :close! Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1310,7 +1310,7 @@ func Test_inc_search()
|
|||||||
call assert_fails('isplit 6 foo', 'E389:')
|
call assert_fails('isplit 6 foo', 'E389:')
|
||||||
call assert_fails('isplit bar', 'E389:')
|
call assert_fails('isplit bar', 'E389:')
|
||||||
|
|
||||||
close!
|
bw!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" this was using a line from ml_get() freed by the regexp
|
" this was using a line from ml_get() freed by the regexp
|
||||||
@ -1423,7 +1423,7 @@ func Test_macro_search()
|
|||||||
call assert_fails('dsplit 6 FOO', 'E388:')
|
call assert_fails('dsplit 6 FOO', 'E388:')
|
||||||
call assert_fails('dsplit BAR', 'E388:')
|
call assert_fails('dsplit BAR', 'E388:')
|
||||||
|
|
||||||
close!
|
bw!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_define_search()
|
func Test_define_search()
|
||||||
@ -1469,7 +1469,7 @@ func Test_comment_search()
|
|||||||
call assert_beeps('normal! 15|[/')
|
call assert_beeps('normal! 15|[/')
|
||||||
call setline(1, ' /* comment')
|
call setline(1, ' /* comment')
|
||||||
call assert_beeps('normal! 15|]/')
|
call assert_beeps('normal! 15|]/')
|
||||||
close!
|
bw!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for the 'taglength' option
|
" Test for the 'taglength' option
|
||||||
|
|||||||
@ -729,6 +729,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1950,
|
||||||
/**/
|
/**/
|
||||||
1949,
|
1949,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user