diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-09-06 18:36:00 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-09-11 05:17:52 +0000 |
commit | f6088e79b098791dc04e42602692ab2bdd08ee78 (patch) | |
tree | 7956b881e4ee7c91fbf9e15a6668a0ed9414cae3 /test/unit/tempfile_spec.lua | |
parent | c76feb338a14a0e6dea494c18fb2d22f474cfc0e (diff) | |
download | rneovim-f6088e79b098791dc04e42602692ab2bdd08ee78.tar.gz rneovim-f6088e79b098791dc04e42602692ab2bdd08ee78.tar.bz2 rneovim-f6088e79b098791dc04e42602692ab2bdd08ee78.zip |
unit tests: avoid global scope; add missing cimports
temporarily comment out call to vim_deltempdir() to avoid segfault
Diffstat (limited to 'test/unit/tempfile_spec.lua')
-rw-r--r-- | test/unit/tempfile_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/tempfile_spec.lua b/test/unit/tempfile_spec.lua index e558ff04c8..9b5cf8bfab 100644 --- a/test/unit/tempfile_spec.lua +++ b/test/unit/tempfile_spec.lua @@ -3,10 +3,11 @@ 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 describe('tempfile related functions', function() after_each(function() - tempfile.vim_deltempdir() + -- tempfile.vim_deltempdir() end) local vim_gettempdir = function() |