mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
test: update tests to work with 'hidden'
This commit is contained in:
@@ -74,7 +74,8 @@ describe('float window', function()
|
||||
funcs.win_execute(win, 'bwipe!')
|
||||
end)
|
||||
|
||||
it('win_execute() call commands that not allowed' , function()
|
||||
it("win_execute() call commands that are not allowed when 'hidden' is not set" , function()
|
||||
command('set nohidden')
|
||||
local buf = meths.create_buf(false, false)
|
||||
meths.buf_set_lines(buf, 0, -1, true, {'the floatwin'})
|
||||
local win = meths.open_win(buf, true, {relative='win', width=16, height=1, row=0, col=10})
|
||||
|
||||
Reference in New Issue
Block a user