diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-07-22 15:24:56 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-22 15:24:56 -0400 |
commit | ba04a1c30674523fb7880b3003d8087ed7852cd9 (patch) | |
tree | bd9347f6efe81084eb4b703f6f5b6bbbaccffdc4 /test/unit/tempfile_spec.lua | |
parent | 845d1bfa905cf0d28d9a1a662e42525449dd1be4 (diff) | |
parent | 7a2ea275eb5964f4a9b875ca273068fb9b40c81d (diff) | |
download | rneovim-ba04a1c30674523fb7880b3003d8087ed7852cd9.tar.gz rneovim-ba04a1c30674523fb7880b3003d8087ed7852cd9.tar.bz2 rneovim-ba04a1c30674523fb7880b3003d8087ed7852cd9.zip |
Merge pull request #904 from war1025/dev/buffer_tests
Add unit tests for buffer.c and fileio.c
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() |