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:
parent
330794fb05
commit
483d4abee7
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue