diff src/testdir/test_fold.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 b05cfda397dc
children ef4f890f02f6
line wrap: on
line diff
--- a/src/testdir/test_fold.vim
+++ b/src/testdir/test_fold.vim
@@ -95,9 +95,7 @@ func Test_indent_fold2()
 endfunc
 
 func Test_manual_fold_with_filter()
-  if !executable('cat')
-    return
-  endif
+  CheckExecutable cat
   for type in ['manual', 'marker']
     exe 'set foldmethod=' . type
     new