diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-23 21:01:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-23 21:01:54 +0100 |
commit | a9b0f8f7f35ddd281f4fa464d163dc4fb05e1d7b (patch) | |
tree | c3f9c1c9c883219c711aae8fe7a6f68f5d0f16f4 /src/testdir/test_vimscript.vim | |
parent | 35fdd9a67d73d4750152c419d4193ebb6b6d6eee (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.vim | 6 |
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())) |