test(ex_terminal_spec): fix flakiness (#36347)

(cherry picked from commit db35dd6734)
This commit is contained in:
zeertzjq
2025-10-27 10:54:14 +08:00
committed by github-actions[bot]
parent 8928ede8af
commit 98dfd25c8b

View File

@@ -153,6 +153,7 @@ describe(':terminal', function()
feed('i')
eq({ blocking = false, mode = 'i' }, api.nvim_get_mode())
command('stopinsert | wincmd p')
feed('<Ignore>') -- Add input to separate two RPC requests
eq({ blocking = false, mode = 'nt' }, api.nvim_get_mode())
end)
end)