commit a81c137251243ed0a6c40fdb5120fe0e1fb48aa8
parent e24a84f18e59b356925a435d5ee3085842415299
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 16 Apr 2023 07:27:11 +0800
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)
https://github.com/vim/vim/commit/657b31fa3bda2089fef18c30fc706abe5d57e865
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
@@ -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')