Fix #269 Set $TMPDIR to a default value, if not set

This commit is contained in:
w0rp committed 2017-02-10 09:45:42 +00:00
1 parent 5bda827143
commit c528ab1eaa
3 files changed
+12

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
Execute($TMPDIR should be set to a default value if unset):
AssertEqual '/tmp', $TMPDIR
+4
View File
@@ -20,3 +20,7 @@ set foldnestmax=10
set ttimeoutlen=0
let g:mapleader=','
" Clear the TMPDIR value for tests.
" The plugin should set this to /tmp by default, which we will test.
let $TMPDIR = ''