test(fix): make testing of ext_cmdline optional #32375

This commit is contained in:
fredizzimo 2025-02-10 20:51:04 +07:00 committed by GitHub
parent 06d8dd89fd
commit 524cdd35c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -634,6 +634,9 @@ screen:redraw_debug() to show all intermediate screen states.]]
if expected.win_pos == nil then if expected.win_pos == nil then
extstate.win_pos = nil extstate.win_pos = nil
end end
if expected.cmdline == nil then
extstate.cmdline = nil
end
if expected.float_pos then if expected.float_pos then
expected.float_pos = deepcopy(expected.float_pos) expected.float_pos = deepcopy(expected.float_pos)