1
0
forked from aniani/vim

patch 9.0.0563: timer_info() test fails

Problem:    Timer_info() test fails.
Solution:   Ignore test timeout timer.  Don't use test_null_job() when not
            available.
This commit is contained in:
Bram Moolenaar
2022-09-23 21:01:54 +01:00
parent 35fdd9a67d
commit a9b0f8f7f3
3 changed files with 7 additions and 3 deletions

View File

@@ -7217,8 +7217,10 @@ func Test_refcount()
unlet d
delfunc DictFunc
call assert_equal(-1, test_refcount(test_null_job()))
call assert_equal(-1, test_refcount(test_null_channel()))
if has('channel')
call assert_equal(-1, test_refcount(test_null_job()))
call assert_equal(-1, test_refcount(test_null_channel()))
endif
call assert_equal(-1, test_refcount(test_null_function()))
call assert_equal(-1, test_refcount(test_null_partial()))
call assert_equal(-1, test_refcount(test_null_blob()))