summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_expr.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-27 19:13:28 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-27 19:13:28 +0100
commitaeb313f355cd67638e3c611354ce401d86f56afe (patch)
treeeec474c3614ccb296a14b8ad8753bdb91459e964 /src/testdir/test_expr.vim
parent6ee874d378829b62e0944063a9a029e81b5debfb (diff)
patch 8.2.2060: check for features implemented with "if"v8.2.2060
Problem: Check for features implemented with "if". Solution: Use the Check commands. (Ken Takata, closes #7383)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r--src/testdir/test_expr.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim
index 754f856c22..dde6e77ba7 100644
--- a/src/testdir/test_expr.vim
+++ b/src/testdir/test_expr.vim
@@ -543,9 +543,7 @@ endfunc
" Test for command-line completion of expressions
func Test_expr_completion()
- if !has('cmdline_compl')
- return
- endif
+ CheckFeature cmdline_compl
for cmd in [
\ 'let a = ',
\ 'const a = ',