forked from aniani/vim
patch 8.1.2230: MS-Windows: testing external commands can be improved
Problem: MS-Windows: testing external commands can be improved. Solution: Adjust tests, remove duplicate test. (closes #4928)
This commit is contained in:
@@ -458,7 +458,7 @@ funct Test_undofile()
|
||||
" Test undofile() with 'undodir' set to a non-existing directory.
|
||||
call assert_equal('', 'Xundofoo'->undofile())
|
||||
|
||||
if isdirectory('/tmp')
|
||||
if !has('win32') && isdirectory('/tmp')
|
||||
set undodir=/tmp
|
||||
if has('osx')
|
||||
call assert_equal('/tmp/%private%tmp%file', undofile('///tmp/file'))
|
||||
|
||||
Reference in New Issue
Block a user