summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vimscript.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-23 21:01:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-23 21:01:54 +0100
commita9b0f8f7f35ddd281f4fa464d163dc4fb05e1d7b (patch)
treec3f9c1c9c883219c711aae8fe7a6f68f5d0f16f4 /src/testdir/test_vimscript.vim
parent35fdd9a67d73d4750152c419d4193ebb6b6d6eee (diff)
patch 9.0.0563: timer_info() test failsv9.0.0563
Problem: Timer_info() test fails. Solution: Ignore test timeout timer. Don't use test_null_job() when not available.
Diffstat (limited to 'src/testdir/test_vimscript.vim')
-rw-r--r--src/testdir/test_vimscript.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index affb958f1d..7698ce836d 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -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()))