test: fix files being left behind (#31004)

This commit is contained in:
zeertzjq 2024-10-31 08:04:51 +08:00 committed by GitHub
parent b4599acbf8
commit 8df6822507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,7 @@ describe('log', function()
after_each(function()
expect_exit(command, 'qa!')
vim.uv.sleep(10) -- Wait for Nvim to fully exit
os.remove(testlog)
end)

View File

@ -150,5 +150,7 @@ describe('storing global variables in ShaDa files', function()
teardown(function()
os.remove(tempname)
command('set shadafile=NONE')
os.remove('Xviminfo')
end)
end)

View File

@ -45,7 +45,7 @@ describe('78', function()
silent recover Xtest
call delete(g:swapname)
new
noswapfile new
call append(0, 'recovery start')
wincmd w