Patch 8.2.4272
Problem: Vim9 expr test fails without the channel feature. (Dominique
Pellé)
Solution: Remove "g:" before "CheckFeature". (closes #9671)
Files: src/testdir/test_vim9_expr.vim
*** ../vim-8.2.4271/src/testdir/test_vim9_expr.vim 2022-01-30 15:28:26.646294975 +0000
--- src/testdir/test_vim9_expr.vim 2022-01-31 13:33:38.855019338 +0000
***************
*** 1472,1478 ****
endfunc
func Test_expr5_fails_channel()
! g:CheckFeature channel
call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_job()"], ['E1105:', 'E908:'], 1)
call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_channel()"], ['E1105:', 'E908:'], 1)
endfunc
--- 1472,1479 ----
endfunc
func Test_expr5_fails_channel()
! CheckFeature channel
!
call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_job()"], ['E1105:', 'E908:'], 1)
call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_channel()"], ['E1105:', 'E908:'], 1)
endfunc
***************
*** 1689,1695 ****
endfunc
func Test_expr6_float_fails()
! g:CheckFeature float
call v9.CheckDefAndScriptFailure(["var x = 1.0 % 2"], ['E1035:', 'E804:'], 1)
endfunc
--- 1690,1696 ----
endfunc
func Test_expr6_float_fails()
! CheckFeature float
call v9.CheckDefAndScriptFailure(["var x = 1.0 % 2"], ['E1035:', 'E804:'], 1)
endfunc
*** ../vim-8.2.4271/src/version.c 2022-01-31 13:25:32.818755362 +0000
--- src/version.c 2022-01-31 13:34:57.489773181 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4272,
/**/
--
|
Ceci n'est pas une pipe.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///