mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2112: running tests may leave some files behind
Problem: Running tests may leave some files behind. Solution: Delete the right files. Fix a few typos. (Dominique Pellé, closes #7436
This commit is contained in:
parent
023fd5d213
commit
ac665c24c9
@ -722,7 +722,7 @@ func Test_ts_file()
|
|||||||
call assert_equal('typescript', &filetype)
|
call assert_equal('typescript', &filetype)
|
||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
call delete('Xfile.hook')
|
call delete('Xfile.ts')
|
||||||
filetype off
|
filetype off
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ func Test_quit_long_message()
|
|||||||
|
|
||||||
" clean up
|
" clean up
|
||||||
call StopVimInTerminal(buf)
|
call StopVimInTerminal(buf)
|
||||||
call delete('Xtest_diff_rnu')
|
call delete('Xtest_quit_message')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" vim: shiftwidth=2 sts=2 expandtab
|
" vim: shiftwidth=2 sts=2 expandtab
|
||||||
|
@ -381,7 +381,7 @@ func Test_mksession_terminal_no_restore_cmdarg()
|
|||||||
let term_cmd = ''
|
let term_cmd = ''
|
||||||
for line in lines
|
for line in lines
|
||||||
if line =~ '^terminal'
|
if line =~ '^terminal'
|
||||||
call assert_report('session must not restore teminal')
|
call assert_report('session must not restore terminal')
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
@ -398,7 +398,7 @@ func Test_mksession_terminal_no_restore_funcarg()
|
|||||||
let term_cmd = ''
|
let term_cmd = ''
|
||||||
for line in lines
|
for line in lines
|
||||||
if line =~ '^terminal'
|
if line =~ '^terminal'
|
||||||
call assert_report('session must not restore teminal')
|
call assert_report('session must not restore terminal')
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
@ -416,7 +416,7 @@ func Test_mksession_terminal_no_restore_func()
|
|||||||
let term_cmd = ''
|
let term_cmd = ''
|
||||||
for line in lines
|
for line in lines
|
||||||
if line =~ '^terminal'
|
if line =~ '^terminal'
|
||||||
call assert_report('session must not restore teminal')
|
call assert_report('session must not restore terminal')
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
@ -434,7 +434,7 @@ func Test_mksession_terminal_no_ssop()
|
|||||||
let term_cmd = ''
|
let term_cmd = ''
|
||||||
for line in lines
|
for line in lines
|
||||||
if line =~ '^terminal'
|
if line =~ '^terminal'
|
||||||
call assert_report('session must not restore teminal')
|
call assert_report('session must not restore terminal')
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
@ -940,6 +940,7 @@ func Test_altfile()
|
|||||||
call assert_equal('Xtwoalt', bufname('#'))
|
call assert_equal('Xtwoalt', bufname('#'))
|
||||||
only
|
only
|
||||||
bwipe!
|
bwipe!
|
||||||
|
call delete('Xtest_altfile')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" vim: shiftwidth=2 sts=2 expandtab
|
" vim: shiftwidth=2 sts=2 expandtab
|
||||||
|
@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2112,
|
||||||
/**/
|
/**/
|
||||||
2111,
|
2111,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user