aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWayne Rowcliffe <war1025@gmail.com>2014-07-19 22:49:56 -0500
committerWayne Rowcliffe <war1025@gmail.com>2014-07-22 05:28:17 -0500
commit9453b7230b68eef6a13403a124a288e9f95591cd (patch)
tree693aa9dbf43b3567de31763198596696bcd9e59d /test
parent845d1bfa905cf0d28d9a1a662e42525449dd1be4 (diff)
downloadrneovim-9453b7230b68eef6a13403a124a288e9f95591cd.tar.gz
rneovim-9453b7230b68eef6a13403a124a288e9f95591cd.tar.bz2
rneovim-9453b7230b68eef6a13403a124a288e9f95591cd.zip
Statically allocate NameBuff
Diffstat (limited to 'test')
-rw-r--r--test/unit/tempfile_spec.lua5
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()