commit 24db6c1e5739674fe7f1dc1d9af73791f36fabbd
parent a01905eb3510e8007e0f56dbf63516c0f6ad2ed0
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 5 Jul 2022 14:33:32 +0800
vim-patch:8.2.0416: test leaves file behind
Problem: Test leaves file behind.
Solution: Delete the file.
https://github.com/vim/vim/commit/95e59a355bea9d6234fead07d855880e822a8eaf
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/nvim/testdir/test_indent.vim b/src/nvim/testdir/test_indent.vim
@@ -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