1
0
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:
Bram Moolenaar
2019-10-28 00:42:21 +01:00
parent efae76ab1a
commit 077ff436a7
5 changed files with 30 additions and 40 deletions

View File

@@ -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'))