diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-05 14:33:32 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-05 14:33:36 +0800 |
commit | 24db6c1e5739674fe7f1dc1d9af73791f36fabbd (patch) | |
tree | 3d713364a1c58d6bf6839e2c39fda4b3a2c31897 | |
parent | a01905eb3510e8007e0f56dbf63516c0f6ad2ed0 (diff) | |
download | rneovim-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.vim | 2 |
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 |