patch 9.0.1456: shortmess test depends on order of test execution

Problem:    Shortmess test depends on order of test execution.
Solution:   Clear messages. (closes #12264)
This commit is contained in:
zeertzjq
2023-04-15 21:28:02 +01:00
committed by Bram Moolenaar
parent 732d69e191
commit 657b31fa3b
2 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,9 @@ if has('timers')
endfunc
func Test_cursorhold_insert()
" depends on timing
let g:test_is_flaky = 1
" Need to move the cursor.
call feedkeys("ggG", "xt")
@ -4215,6 +4218,7 @@ func SetupVimTest_shm()
let g:bwe = []
let g:brp = []
set shortmess+=F
messages clear
let dirname='XVimTestSHM'
call mkdir(dirname, 'R')

View File

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