test(win_scrolled_resized_spec): fix flaky test (#37942)

(cherry picked from commit d23f28cca2)
This commit is contained in:
zeertzjq
2026-02-18 21:10:22 +08:00
committed by github-actions[bot]
parent 437f2e5a57
commit f7af59d29b

View File

@@ -50,10 +50,12 @@ describe('WinResized', function()
eq(0, eval('g:resized'))
command('vsplit term://')
feed('<Ignore>') -- Add input to separate two RPC requests
eq({ mode = 't', blocking = false }, api.nvim_get_mode())
eq(1, eval('g:resized'))
command('split')
feed('<Ignore>') -- Add input to separate two RPC requests
eq({ mode = 't', blocking = false }, api.nvim_get_mode())
eq(2, eval('g:resized'))
end)