Mercurial > vim
comparison src/testdir/test_functions.vim @ 14895:bde025b0d7de v8.1.0459
patch 8.1.0459: Test_executable fails when there is a dog in the system
commit https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 7 18:43:05 2018 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Oct 2018 18:45:05 +0200 |
parents | 5e47597de905 |
children | 32787e326de2 |
comparison
equal
deleted
inserted
replaced
14894:6e8a71f2b3b7 | 14895:bde025b0d7de |
---|---|
853 call assert_equal(0, executable('notepad.exe.exe')) | 853 call assert_equal(0, executable('notepad.exe.exe')) |
854 call assert_equal(0, executable('shell32.dll')) | 854 call assert_equal(0, executable('shell32.dll')) |
855 call assert_equal(0, executable('win.ini')) | 855 call assert_equal(0, executable('win.ini')) |
856 elseif has('unix') | 856 elseif has('unix') |
857 call assert_equal(1, executable('cat')) | 857 call assert_equal(1, executable('cat')) |
858 call assert_equal(0, executable('dog')) | 858 call assert_equal(0, executable('nodogshere')) |
859 endif | 859 endif |
860 endfunc | 860 endfunc |
861 | 861 |
862 func Test_hostname() | 862 func Test_hostname() |
863 let hostname_vim = hostname() | 863 let hostname_vim = hostname() |