Skip to content

Commit 358f6b0

Browse files
committed
patch 8.0.0400: some tests have a one second delay
Problem: Some tests have a one second delay. Solution: Add --not-a-term in RunVim().
1 parent caf6434 commit 358f6b0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/testdir/shared.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ func RunVimPiped(before, after, arguments, pipecmd)
192192
if cmd !~ '-u NONE'
193193
let cmd = cmd . ' -u NONE'
194194
endif
195+
let cmd .= ' --not-a-term'
195196

196197
" With pipecmd we can't set VIMRUNTIME.
197198
if a:pipecmd != ''

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
400,
767769
/**/
768770
399,
769771
/**/

0 commit comments

Comments
 (0)