From 8f02ae82e203920b472d17e75a61763f3a409a7b Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Tue, 16 Jan 2024 13:26:21 +0000 Subject: test: use integers for API Buffer/Window/Tabpage EXT types --- test/functional/ui/screen.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/functional/ui/screen.lua') 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 -- cgit