unit tests: initialize everything

This commit is contained in:
Justin M. Keyes
2014-09-10 01:17:07 +00:00
parent f6088e79b0
commit 99a9161bac
4 changed files with 22 additions and 13 deletions

View File

@@ -3,11 +3,12 @@ local helpers = require 'test.unit.helpers'
local os = helpers.cimport './src/nvim/os/os.h'
local tempfile = helpers.cimport './src/nvim/tempfile.h'
-- os.mch_early_init
helpers.vim_init()
describe('tempfile related functions', function()
after_each(function()
-- tempfile.vim_deltempdir()
tempfile.vim_deltempdir()
end)
local vim_gettempdir = function()