mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
logs: make kXDGCacheHome if it doesn't exist (#13758)
This commit is contained in:
committed by
GitHub
parent
0fad952a2b
commit
abbfaf286f
@@ -233,13 +233,6 @@ describe('startup defaults', function()
|
||||
}})
|
||||
eq(xdgcachedir..'/log', string.gsub(eval('$NVIM_LOG_FILE'), '\\', '/'))
|
||||
end)
|
||||
it('defaults to .nvimlog if stdpath("cache") is invalid', function()
|
||||
clear({env={
|
||||
XDG_CACHE_HOME='Xtest-missing-xdg-dir',
|
||||
NVIM_LOG_FILE='.', -- Any directory is invalid.
|
||||
}})
|
||||
eq('.nvimlog', eval('$NVIM_LOG_FILE'))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user