From d23f28cca28f88cd3f6f859741a3b06bc0d73228 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 18 Feb 2026 21:10:22 +0800 Subject: [PATCH] test(win_scrolled_resized_spec): fix flaky test (#37942) --- test/functional/autocmd/win_scrolled_resized_spec.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/autocmd/win_scrolled_resized_spec.lua b/test/functional/autocmd/win_scrolled_resized_spec.lua index 4876420552..a5e162d7b4 100644 --- a/test/functional/autocmd/win_scrolled_resized_spec.lua +++ b/test/functional/autocmd/win_scrolled_resized_spec.lua @@ -50,10 +50,12 @@ describe('WinResized', function() eq(0, eval('g:resized')) command('vsplit term://') + feed('') -- Add input to separate two RPC requests eq({ mode = 't', blocking = false }, api.nvim_get_mode()) eq(1, eval('g:resized')) command('split') + feed('') -- Add input to separate two RPC requests eq({ mode = 't', blocking = false }, api.nvim_get_mode()) eq(2, eval('g:resized')) end)