Mercurial > vim
diff src/testdir/test_indent.vim @ 19719:a659d390d3fd v8.2.0416
patch 8.2.0416: test leaves file behind
Commit: https://github.com/vim/vim/commit/95e59a355bea9d6234fead07d855880e822a8eaf
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 20:33:33 2020 +0100
patch 8.2.0416: test leaves file behind
Problem: Test leaves file behind.
Solution: Delete the file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 20:45:05 +0100 |
parents | 9c15be376631 |
children | 7108cee19a2c |
line wrap: on
line diff
--- a/src/testdir/test_indent.vim +++ b/src/testdir/test_indent.vim @@ -134,10 +134,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