mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-30 16:14:30 +08:00
Fix #269 Set $TMPDIR to a default value, if not set
This commit is contained in:
2
test/test_tmpdir_init.vader
Normal file
2
test/test_tmpdir_init.vader
Normal file
@@ -0,0 +1,2 @@
|
||||
Execute($TMPDIR should be set to a default value if unset):
|
||||
AssertEqual '/tmp', $TMPDIR
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user