Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution: Check for the channel feature. (closes #8063)
enddef
def Test_ch_logfile()
+ if !has('channel')
+ CheckFeature channel
+ endif
assert_fails('ch_logfile(true)', 'E1174')
assert_fails('ch_logfile("foo", true)', 'E1174')
enddef
if has('channel')
CheckDefAndScriptFailure(lines, 'E119:', 0)
else
- CheckDefAndScriptFailure(lines, 'E117:', 1)
+ CheckDefAndScriptFailure(lines, 'E117:', 0)
endif
enddef
CheckDefAndScriptFailure2(["@. = 'yes'"], 'E354:', 'E488:', 1)
enddef
+" This is slow when run under valgrind.
def Test_expr7_namespace()
var lines =<< trim END
g:some_var = 'some'
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2715,
/**/
2714,
/**/