forked from aniani/vim
patch 8.1.0459: Test_executable fails when there is a dog in the system
Problem: Test_executable fails when there is a dog in the system. Solution: Rename the dog. (Hirohito Higashi)
This commit is contained in:
@@ -855,7 +855,7 @@ func Test_Executable()
|
||||
call assert_equal(0, executable('win.ini'))
|
||||
elseif has('unix')
|
||||
call assert_equal(1, executable('cat'))
|
||||
call assert_equal(0, executable('dog'))
|
||||
call assert_equal(0, executable('nodogshere'))
|
||||
endif
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user