0
0
mirror of https://github.com/vim/vim.git synced 2025-08-27 20:13:38 -04:00

patch 8.1.0599: without the +eval feature the indent tests don't work

Problem:    Without the +eval feature the indent tests don't work.
Solution:   Skip the body of the tests.
This commit is contained in:
Bram Moolenaar 2018-12-15 17:43:42 +01:00
parent 72846cfa76
commit eeed665b0e
3 changed files with 17 additions and 4 deletions

View File

@ -1,6 +1,11 @@
" Deletes all the test output files: *.fail and *.out " Only do this with the +eval feature
for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1) if 1
call delete(fname)
endfor " 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
endif
quit quit

View File

@ -2,6 +2,9 @@
" "
" Current directory must be runtime/indent. " Current directory must be runtime/indent.
" Only do this with the +eval feature
if 1
set nocp set nocp
filetype indent on filetype indent on
set nowrapscan set nowrapscan
@ -116,4 +119,7 @@ for fname in glob('testdir/*.in', 1, 1)
endif endif
endfor endfor
" Matching "if 1" at the start.
endif
qall! qall!

View File

@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
599,
/**/ /**/
598, 598,
/**/ /**/