From c0fe4978f2311be9a0221d4c2369251c719b399a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 25 Oct 2018 16:53:19 +0200 Subject: patch 8.1.0496: no tests for indent files Problem: No tests for indent files. Solution: Add a mechanism for running indent file tests. Add a first test for Vim indenting. --- runtime/indent/testdir/cleantest.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 runtime/indent/testdir/cleantest.vim (limited to 'runtime/indent/testdir/cleantest.vim') 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 -- cgit v1.2.3