mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test: update tests to work with 'hidden'
This commit is contained in:
@@ -311,7 +311,8 @@ describe('API/win', function()
|
||||
eq({newwin}, meths.list_wins())
|
||||
end)
|
||||
|
||||
it('handles changed buffer', function()
|
||||
it("handles changed buffer when 'hidden' is unset", function()
|
||||
command('set nohidden')
|
||||
local oldwin = meths.get_current_win()
|
||||
insert('text')
|
||||
command('new')
|
||||
|
||||
Reference in New Issue
Block a user