diff src/testdir/test_compiler.vim @ 23027:f74978697fb6 v8.2.2060

patch 8.2.2060: check for features implemented with "if" Commit: https://github.com/vim/vim/commit/aeb313f355cd67638e3c611354ce401d86f56afe Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 27 19:13:28 2020 +0100 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 https://github.com/vim/vim/issues/7383)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Nov 2020 19:15:04 +0100
parents 1e1422df34e3
children 7759374c4464
line wrap: on
line diff
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -4,9 +4,7 @@ source check.vim
 source shared.vim
 
 func Test_compiler()
-  if !executable('perl')
-    return
-  endif
+  CheckExecutable perl
   CheckFeature quickfix
 
   " $LANG changes the output of Perl.