0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 8.2.2060: check for features implemented with "if"

Problem:    Check for features implemented with "if".
Solution:   Use the Check commands. (Ken Takata, closes #7383)
This commit is contained in:
Bram Moolenaar
2020-11-27 19:13:28 +01:00
parent 6ee874d378
commit aeb313f355
7 changed files with 12 additions and 24 deletions

View File

@@ -621,9 +621,7 @@ func Test_diff_move_to()
endfunc
func Test_diffexpr()
if !executable('diff')
return
endif
CheckExecutable diff
func DiffExpr()
" Prepent some text to check diff type detection