Problem: Vim9 expr test fails without the channel feature. (Dominique
Pellé)
Solution: Remove "g:" before "CheckFeature". (closes #9671)
endfunc
func Test_expr5_fails_channel()
- g:CheckFeature 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
endfunc
func Test_expr6_float_fails()
- g:CheckFeature float
+ CheckFeature float
call v9.CheckDefAndScriptFailure(["var x = 1.0 % 2"], ['E1035:', 'E804:'], 1)
endfunc
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4272,
/**/
4271,
/**/