diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2015-12-01 20:43:01 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2015-12-01 20:46:13 +0100 |
commit | 483d4abee7296ff96f1a06309e5422d0e16ee564 (patch) | |
tree | 05cc1a0ee1fa049ede010dc96b026d165a2bd63d | |
parent | 330794fb051617edc884207b738b1f30d7aef8ef (diff) | |
download | rneovim-483d4abee7296ff96f1a06309e5422d0e16ee564.tar.gz rneovim-483d4abee7296ff96f1a06309e5422d0e16ee564.tar.bz2 rneovim-483d4abee7296ff96f1a06309e5422d0e16ee564.zip |
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().
-rw-r--r-- | test/functional/plugin/shada_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/plugin/shada_spec.lua b/test/functional/plugin/shada_spec.lua index 020bb11bbc..4100a30452 100644 --- a/test/functional/plugin/shada_spec.lua +++ b/test/functional/plugin/shada_spec.lua @@ -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') |