vim-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 vim/vim#12264)

657b31fa3b
This commit is contained in:
zeertzjq
2023-04-16 07:27:11 +08:00
parent e24a84f18e
commit a81c137251

View File

@@ -56,6 +56,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")
@@ -3627,6 +3630,7 @@ func SetupVimTest_shm()
let g:bwe = []
let g:brp = []
set shortmess+=F
messages clear
let dirname='XVimTestSHM'
call mkdir(dirname, 'R')