vim-patch:8.2.0416: test leaves file behind

Problem:    Test leaves file behind.
Solution:   Delete the file.
95e59a355b
This commit is contained in:
zeertzjq
2022-07-05 14:33:32 +08:00
parent a01905eb35
commit 24db6c1e57

View File

@@ -157,10 +157,12 @@ func Test_modeline_indent_expr()
call assert_equal('GetIndent()', &indentexpr)
exe "normal Oa\nb\n"
call assert_equal([' a', ' b'], getline(1, 2))
set modelineexpr&
delfunc GetIndent
let &modeline = modeline
close!
call delete('Xfile.txt')
endfunc
" vim: shiftwidth=2 sts=2 expandtab