From c3308fa5fe0c82849a9f1773219fce00b82cc352 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 18 Mar 2026 09:49:36 +0800 Subject: [PATCH] test(tui_spec): remove unnecessary :messages (#38349) The :echomsg commands already trigger a hit-enter prompt. The :messages will lead to an intermediate state, which causes the test to be flaky. --- test/functional/terminal/tui_spec.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 6a18ae96cf..0fd0e17dbe 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -3316,8 +3316,6 @@ describe('TUI FocusGained/FocusLost', function() it('in hit-enter prompt', function() t.skip(is_os('win'), 'FIXME: some spaces have wrong attrs on Windows') feed_data(":echom 'msg1'|echom 'msg2'|echom 'msg3'|echom 'msg4'|echom 'msg5'\n") - -- Execute :messages to provoke the hit-enter prompt. - feed_data(':messages\n') screen:expect([[ msg1 | msg2 |