aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfredizzimo <fsundvik@gmail.com>2025-02-10 20:51:04 +0700
committerGitHub <noreply@github.com>2025-02-10 05:51:04 -0800
commit524cdd35c2ae3babc1824257da523615507e7af9 (patch)
tree17e494b62b82da667ce7c9f649f4cd652769f7bf
parent06d8dd89fd9e978f9d0e63d0e950bcd57d8328b2 (diff)
downloadrneovim-524cdd35c2ae3babc1824257da523615507e7af9.tar.gz
rneovim-524cdd35c2ae3babc1824257da523615507e7af9.tar.bz2
rneovim-524cdd35c2ae3babc1824257da523615507e7af9.zip
test(fix): make testing of ext_cmdline optional #32375
-rw-r--r--test/functional/ui/screen.lua3
1 files changed, 3 insertions, 0 deletions
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)