aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-05 14:33:32 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-05 14:33:36 +0800
commit24db6c1e5739674fe7f1dc1d9af73791f36fabbd (patch)
tree3d713364a1c58d6bf6839e2c39fda4b3a2c31897
parenta01905eb3510e8007e0f56dbf63516c0f6ad2ed0 (diff)
downloadrneovim-24db6c1e5739674fe7f1dc1d9af73791f36fabbd.tar.gz
rneovim-24db6c1e5739674fe7f1dc1d9af73791f36fabbd.tar.bz2
rneovim-24db6c1e5739674fe7f1dc1d9af73791f36fabbd.zip
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
-rw-r--r--src/nvim/testdir/test_indent.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_indent.vim b/src/nvim/testdir/test_indent.vim
index 5c47141292..f079a8bdd2 100644
--- 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