mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
test: use integers for API Buffer/Window/Tabpage EXT types
This commit is contained in:
committed by
Lewis Russell
parent
91dc04a5e1
commit
8f02ae82e2
@@ -62,10 +62,10 @@ describe('example', function()
|
||||
-- Use screen:expect{condition=…} to check the result.
|
||||
screen:expect {
|
||||
condition = function()
|
||||
eq({ id = 2 }, event_curtab)
|
||||
eq(2, event_curtab)
|
||||
eq({
|
||||
{ tab = { id = 1 }, name = '[No Name]' },
|
||||
{ tab = { id = 2 }, name = 'foo' },
|
||||
{ tab = 1, name = '[No Name]' },
|
||||
{ tab = 2, name = 'foo' },
|
||||
}, event_tabs)
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user