aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-01-16 13:26:21 +0000
committerLewis Russell <me@lewisr.dev>2024-01-16 19:11:49 +0000
commit8f02ae82e203920b472d17e75a61763f3a409a7b (patch)
tree4e6379218c7d53d1ba512a2464ec0237365a7bbb /test/functional/ui/screen.lua
parent91dc04a5e12a3d0c5be56768ded5971bc80e6f8e (diff)
downloadrneovim-8f02ae82e203920b472d17e75a61763f3a409a7b.tar.gz
rneovim-8f02ae82e203920b472d17e75a61763f3a409a7b.tar.bz2
rneovim-8f02ae82e203920b472d17e75a61763f3a409a7b.zip
test: use integers for API Buffer/Window/Tabpage EXT types
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