patch 8.2.0416: test leaves file behind
Problem: Test leaves file behind. Solution: Delete the file.
This commit is contained in:
@ -134,10 +134,12 @@ func Test_modeline_indent_expr()
|
|||||||
call assert_equal('GetIndent()', &indentexpr)
|
call assert_equal('GetIndent()', &indentexpr)
|
||||||
exe "normal Oa\nb\n"
|
exe "normal Oa\nb\n"
|
||||||
call assert_equal([' a', ' b'], getline(1, 2))
|
call assert_equal([' a', ' b'], getline(1, 2))
|
||||||
|
|
||||||
set modelineexpr&
|
set modelineexpr&
|
||||||
delfunc GetIndent
|
delfunc GetIndent
|
||||||
let &modeline = modeline
|
let &modeline = modeline
|
||||||
close!
|
close!
|
||||||
|
call delete('Xfile.txt')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" vim: shiftwidth=2 sts=2 expandtab
|
" vim: shiftwidth=2 sts=2 expandtab
|
||||||
|
|||||||
@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
416,
|
||||||
/**/
|
/**/
|
||||||
415,
|
415,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user