test: reduce flakiness in blocking wait tests (#32868)

This commit is contained in:
zeertzjq
2025-03-13 08:42:02 +08:00
committed by GitHub
parent 785e620700
commit dbd76c2c41
3 changed files with 28 additions and 4 deletions

View File

@@ -2028,7 +2028,13 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim
echon "\nccc"
endfunc
]]):format(to_block))
feed(':call PrintAndWait()<CR>')
feed(':call PrintAndWait()')
screen:expect([[
|
{1:~ }|*5
:call PrintAndWait()^ |
]])
feed('<CR>')
screen:expect {
grid = [[
|