test: Ensure proper initialization in unit/helpers.lua

Remove helpers.vim_init and simply perform the required initialization in
helpers.lua.
This commit is contained in:
Thiago de Arruda
2015-05-14 04:46:31 -03:00
parent bfadf5a28b
commit c8c5af5a7a
4 changed files with 1 additions and 13 deletions

View File

@@ -3,8 +3,6 @@ local helpers = require("test.unit.helpers")
local to_cstr = helpers.to_cstr
local eq = helpers.eq
helpers.vim_init()
local buffer = helpers.cimport("./src/nvim/buffer.h")
local window = helpers.cimport("./src/nvim/window.h")
local option = helpers.cimport("./src/nvim/option.h")