comparison src/testdir/test_expr.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 ef8a3177edc1
children 13efbfc53054
comparison
equal deleted inserted replaced
23026:1f43d20ca299 23027:f74978697fb6
541 call assert_equal('b', s:val) 541 call assert_equal('b', s:val)
542 endfunc 542 endfunc
543 543
544 " Test for command-line completion of expressions 544 " Test for command-line completion of expressions
545 func Test_expr_completion() 545 func Test_expr_completion()
546 if !has('cmdline_compl') 546 CheckFeature cmdline_compl
547 return
548 endif
549 for cmd in [ 547 for cmd in [
550 \ 'let a = ', 548 \ 'let a = ',
551 \ 'const a = ', 549 \ 'const a = ',
552 \ 'if', 550 \ 'if',
553 \ 'elseif', 551 \ 'elseif',