summaryrefslogtreecommitdiffstats
path: root/runtime/indent/testdir/cleantest.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-25 16:53:19 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-25 16:53:19 +0200
commitc0fe4978f2311be9a0221d4c2369251c719b399a (patch)
tree8061774a07046f9d5c50f5b05954944ec133944d /runtime/indent/testdir/cleantest.vim
parentf86db78fed78541cefdb706e4779ce5ae9ca7820 (diff)
patch 8.1.0496: no tests for indent filesv8.1.0496
Problem: No tests for indent files. Solution: Add a mechanism for running indent file tests. Add a first test for Vim indenting.
Diffstat (limited to 'runtime/indent/testdir/cleantest.vim')
-rw-r--r--runtime/indent/testdir/cleantest.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/indent/testdir/cleantest.vim b/runtime/indent/testdir/cleantest.vim
new file mode 100644
index 0000000000..909cf812c4
--- /dev/null
+++ b/runtime/indent/testdir/cleantest.vim
@@ -0,0 +1,6 @@
+" Deletes all the test output files: *.fail and *.out
+for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
+ call delete(fname)
+endfor
+
+quit