mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 19:11:52 +00:00
test(terminal): status is -1 in TermClose if buffer is deleted (#37609)
This commit is contained in:
@@ -89,11 +89,10 @@ describe(':terminal buffer', function()
|
||||
end)
|
||||
|
||||
it('does not create swap files', function()
|
||||
local swapfile = api.nvim_exec('swapname', true):gsub('\n', '')
|
||||
eq(nil, io.open(swapfile))
|
||||
eq('No swap file', n.exec_capture('swapname'))
|
||||
end)
|
||||
|
||||
it('does not create undofiles files', function()
|
||||
it('does not create undo files', function()
|
||||
local undofile = api.nvim_eval('undofile(bufname("%"))')
|
||||
eq(nil, io.open(undofile))
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user