Skip to content

Commit dc2f73a

Browse files
committed
patch 8.1.0545: when executing indent tests user preferences interfere
Problem: When executing indent tests user preferences interfere. Solution: Add "--clean".
1 parent b730f0c commit dc2f73a

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

runtime/indent/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ VIM = vim
66
# If a test succeeds a testdir/*.out file will be written.
77
# If a test fails a testdir/*.fail file will be written.
88
test:
9-
$(VIM) --not-a-term -u testdir/runtest.vim
9+
$(VIM) --clean --not-a-term -u testdir/runtest.vim
1010

1111

1212
clean:
13-
$(VIM) --not-a-term -u testdir/cleantest.vim
13+
$(VIM) --clean --not-a-term -u testdir/cleantest.vim

runtime/indent/testdir/runtest.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
" Runs all the indent tests for which there is no .out file
1+
" Runs all the indent tests for which there is no .out file.
2+
"
3+
" Current directory must be runtime/indent.
24

35
set nocp
46
filetype indent on

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ static char *(features[]) =
792792

793793
static int included_patches[] =
794794
{ /* Add new patch number below this line */
795+
/**/
796+
545,
795797
/**/
796798
544,
797799
/**/

0 commit comments

Comments
 (0)