Problem: Vim9: script test fails when channel feature is missing.
Solution: Add a has() condition.
let thedict: dict<any>
assert_equal({}, thedict)
- let thejob: job
- assert_equal(test_null_job(), thejob)
+ if has('channel')
+ let thejob: job
+ assert_equal(test_null_job(), thejob)
- let thechannel: channel
- assert_equal(test_null_channel(), thechannel)
+ let thechannel: channel
+ assert_equal(test_null_channel(), thechannel)
+ endif
enddef
func Test_assignment_failure()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 501,
/**/
500,
/**/