From 524cdd35c2ae3babc1824257da523615507e7af9 Mon Sep 17 00:00:00 2001 From: fredizzimo Date: Mon, 10 Feb 2025 20:51:04 +0700 Subject: [PATCH] test(fix): make testing of ext_cmdline optional #32375 --- test/functional/ui/screen.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 3333ac6c34..934b4e9032 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -634,6 +634,9 @@ screen:redraw_debug() to show all intermediate screen states.]] if expected.win_pos == nil then extstate.win_pos = nil end + if expected.cmdline == nil then + extstate.cmdline = nil + end if expected.float_pos then expected.float_pos = deepcopy(expected.float_pos)