aboutsummaryrefslogtreecommitdiff
path: root/test/functional/spell/spellfile_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-11 03:14:10 +0200
committerGitHub <noreply@github.com>2017-04-11 03:14:10 +0200
commit337299c8082347feecb5e733bed993c6a5933456 (patch)
treeb2f491c54f8ed3a4ed57e1b78bf907b918b8b34c /test/functional/spell/spellfile_spec.lua
parent9aface8c4d1edd25d4fed3e099e3c2c02b0a282a (diff)
parentde378477cc3ebface5da5dbd24015959755f137e (diff)
downloadrneovim-337299c8082347feecb5e733bed993c6a5933456.tar.gz
rneovim-337299c8082347feecb5e733bed993c6a5933456.tar.bz2
rneovim-337299c8082347feecb5e733bed993c6a5933456.zip
Merge #6490 from justinmk/test
Closes #6487
Diffstat (limited to 'test/functional/spell/spellfile_spec.lua')
-rw-r--r--test/functional/spell/spellfile_spec.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/spell/spellfile_spec.lua b/test/functional/spell/spellfile_spec.lua
index e7cd10d2ac..afd2c1bce4 100644
--- a/test/functional/spell/spellfile_spec.lua
+++ b/test/functional/spell/spellfile_spec.lua
@@ -5,6 +5,7 @@ local eq = helpers.eq
local clear = helpers.clear
local meths = helpers.meths
local exc_exec = helpers.exc_exec
+local rmdir = helpers.rmdir
local write_file = helpers.write_file
local testdir = 'Xtest-functional-spell-spellfile.d'
@@ -12,11 +13,12 @@ local testdir = 'Xtest-functional-spell-spellfile.d'
describe('spellfile', function()
before_each(function()
clear()
+ rmdir(testdir)
lfs.mkdir(testdir)
lfs.mkdir(testdir .. '/spell')
end)
after_each(function()
- lfs.rmdir(testdir)
+ rmdir(testdir)
end)
-- ┌ Magic string (#VIMSPELLMAGIC)
-- │ ┌ Spell file version (#VIMSPELLVERSION)