aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index dba70f27e4..644ee910b6 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -1484,9 +1484,9 @@ local function fmt_ext_state(name, state)
str
.. ' ['
.. k
- .. '] = {win = {id = '
- .. v.win.id
- .. '}, topline = '
+ .. '] = {win = '
+ .. v.win
+ .. ', topline = '
.. v.topline
.. ', botline = '
.. v.botline
@@ -1505,7 +1505,7 @@ local function fmt_ext_state(name, state)
elseif name == 'float_pos' then
local str = '{\n'
for k, v in pairs(state) do
- str = str .. ' [' .. k .. '] = {{id = ' .. v[1].id .. '}'
+ str = str .. ' [' .. k .. '] = {' .. v[1]
for i = 2, #v do
str = str .. ', ' .. inspect(v[i])
end