diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 19:40:30 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 19:46:44 +0800 |
| commit | a6f972cb6a5ad47613374570d88df2570ae92b9a (patch) | |
| tree | de274622e245045228702e845dc3536161276edd /src/nvim/testdir/test_diffmode.vim | |
| parent | 31ffc360f2a4aab469a95a55c532f376443bd5fe (diff) | |
| download | rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.tar.gz rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.tar.bz2 rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.zip | |
vim-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 vim/vim#7383)
https://github.com/vim/vim/commit/aeb313f355cd67638e3c611354ce401d86f56afe
Cherry-pick test_compiler.vim changes from patch 8.1.2373.
Diffstat (limited to 'src/nvim/testdir/test_diffmode.vim')
| -rw-r--r-- | src/nvim/testdir/test_diffmode.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim index 831efdbfc2..0de5310735 100644 --- a/src/nvim/testdir/test_diffmode.vim +++ b/src/nvim/testdir/test_diffmode.vim @@ -621,9 +621,7 @@ func Test_diff_move_to() endfunc func Test_diffexpr() - if !executable('diff') - return - endif + CheckExecutable diff func DiffExpr() " Prepend some text to check diff type detection |