aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/messages_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-13 08:42:02 +0800
committerGitHub <noreply@github.com>2025-03-13 00:42:02 +0000
commitdbd76c2c414e24ed3e961568567a3a60f97cf2fb (patch)
tree0c7b1d63c0334af44a0205ec460105e8f4d43269 /test/functional/ui/messages_spec.lua
parent785e620700df800810dc45a965dcc99573a3b7a3 (diff)
downloadrneovim-dbd76c2c414e24ed3e961568567a3a60f97cf2fb.tar.gz
rneovim-dbd76c2c414e24ed3e961568567a3a60f97cf2fb.tar.bz2
rneovim-dbd76c2c414e24ed3e961568567a3a60f97cf2fb.zip
test: reduce flakiness in blocking wait tests (#32868)
Diffstat (limited to 'test/functional/ui/messages_spec.lua')
-rw-r--r--test/functional/ui/messages_spec.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua
index a6577f3ca0..93ec608462 100644
--- a/test/functional/ui/messages_spec.lua
+++ b/test/functional/ui/messages_spec.lua
@@ -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 = [[
|