aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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