diff options
Diffstat (limited to 'test/unit/tempfile_spec.lua')
-rw-r--r-- | test/unit/tempfile_spec.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/tempfile_spec.lua b/test/unit/tempfile_spec.lua index adc52b9a8f..e558ff04c8 100644 --- a/test/unit/tempfile_spec.lua +++ b/test/unit/tempfile_spec.lua @@ -6,10 +6,7 @@ local tempfile = helpers.cimport './src/nvim/tempfile.h' describe('tempfile related functions', function() after_each(function() - -- This won't work because vim_deltempdir() uses global buffer - -- that is initialized in main() and main() is not called for unit tests. - -- But it is not a big problem: all tests can work with or without it. - -- tempfile.vim_deltempdir() + tempfile.vim_deltempdir() end) local vim_gettempdir = function() |