aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-16 07:27:11 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-16 16:12:52 +0800
commita81c137251243ed0a6c40fdb5120fe0e1fb48aa8 (patch)
treef819f554846dcf794cc80cf52f5003ca079ffde3
parente24a84f18e59b356925a435d5ee3085842415299 (diff)
downloadrneovim-a81c137251243ed0a6c40fdb5120fe0e1fb48aa8.tar.gz
rneovim-a81c137251243ed0a6c40fdb5120fe0e1fb48aa8.tar.bz2
rneovim-a81c137251243ed0a6c40fdb5120fe0e1fb48aa8.zip
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
-rw-r--r--test/old/testdir/test_autocmd.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
index f0ad5946cc..f91792e36e 100644
--- 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')