diff src/testdir/test_vim9_builtin.vim @ 24349:21c72f782ae1 v8.2.2715

patch 8.2.2715: Vim9: tests fail without the channel feature Commit: https://github.com/vim/vim/commit/886e5e737d0b2eea755c415a86997ca3b7fe5349 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 5 13:36:34 2021 +0200 patch 8.2.2715: Vim9: tests fail without the channel feature Problem: Vim9: tests fail without the channel feature. (Dominique Pell?) Solution: Check for the channel feature. (closes https://github.com/vim/vim/issues/8063)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Apr 2021 13:45:04 +0200
parents 8b4159943d9a
children f539864ba851
line wrap: on
line diff
--- a/src/testdir/test_vim9_builtin.vim
+++ b/src/testdir/test_vim9_builtin.vim
@@ -209,6 +209,9 @@ def Test_call_call()
 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