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:
@@ -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
|
||||
|
Reference in New Issue
Block a user