mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Test: remove artifacts from root directory
The tests would leave the following test files in the root directory:
Xtest-functional-plugin-shada.shada
Xtest-functional-plugin-shada.shada.tmp.f
Clean them up in teardown().
This commit is contained in:
@@ -2114,6 +2114,11 @@ describe('In plugin/shada.vim', function()
|
||||
os.remove(fname_tmp)
|
||||
end)
|
||||
|
||||
teardown(function()
|
||||
os.remove(fname)
|
||||
os.remove(fname_tmp)
|
||||
end)
|
||||
|
||||
local shada_eq = function(expected, fname_)
|
||||
local fd = io.open(fname_)
|
||||
local mpack_result = fd:read('*a')
|
||||
|
||||
Reference in New Issue
Block a user